public static interface GCMChannelRequest.Builder extends SdkPojo, CopyableBuilder<GCMChannelRequest.Builder,GCMChannelRequest>
| Modifier and Type | Method and Description |
|---|---|
GCMChannelRequest.Builder |
apiKey(String apiKey)
The Web API Key, also referred to as an API_KEY or server key, that you received from Google to
communicate with Google services.
|
GCMChannelRequest.Builder |
defaultAuthenticationMethod(String defaultAuthenticationMethod)
The default authentication method used for GCM.
|
GCMChannelRequest.Builder |
enabled(Boolean enabled)
Specifies whether to enable the GCM channel for the application.
|
GCMChannelRequest.Builder |
serviceJson(String serviceJson)
The contents of the JSON file provided by Google during registration in order to generate an access token for
authentication.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGCMChannelRequest.Builder apiKey(String apiKey)
The Web API Key, also referred to as an API_KEY or server key, that you received from Google to communicate with Google services.
apiKey - The Web API Key, also referred to as an API_KEY or server key, that you received from
Google to communicate with Google services.GCMChannelRequest.Builder defaultAuthenticationMethod(String defaultAuthenticationMethod)
The default authentication method used for GCM. Values are either "TOKEN" or "KEY". Defaults to "KEY".
defaultAuthenticationMethod - The default authentication method used for GCM. Values are either "TOKEN" or "KEY". Defaults to "KEY".GCMChannelRequest.Builder enabled(Boolean enabled)
Specifies whether to enable the GCM channel for the application.
enabled - Specifies whether to enable the GCM channel for the application.GCMChannelRequest.Builder serviceJson(String serviceJson)
The contents of the JSON file provided by Google during registration in order to generate an access token for authentication. For more information see Migrate from legacy FCM APIs to HTTP v1.
serviceJson - The contents of the JSON file provided by Google during registration in order to generate an access
token for authentication. For more information see Migrate from legacy FCM APIs to
HTTP v1.Copyright © 2023. All rights reserved.