The NotificationSDKServerCredentials object encompasses the customer's credentials necessary to log in to each platform specific push notification services. It must be provided to the NotificationSDKServer method.
◆ NotificationSDKServerCredentials()
◆ SetAndroidPlatformCredentials()
void SetAndroidPlatformCredentials |
( |
string |
projectKey | ) |
|
|
inline |
Sets the credentials for the Android specific notification service.It is retrieved from the Google API Console.
- Parameters
-
projectKey | Key the key to be used for the communication with the server |
◆ SetIOSPlatformCredentials()
void SetIOSPlatformCredentials |
( |
bool |
useSandboxGateway, |
|
|
string |
p8CertificatePath, |
|
|
string |
keyID, |
|
|
string |
teamID, |
|
|
string |
bundleID |
|
) |
| |
|
inline |
Sets the credentials for the iOS specific notification service using a P8 token
- Parameters
-
useSandboxGateway | specify if the sandbox gateway must be used |
p8CertificatePath | the path to the p8 token to be used for the communication with the server |
keyID | Key ID related to the P8 certificate<para>Ex: 8Z9JNM2MG8 |
teamID | Apple Team ID<para>Ex: PS856PAVJ3 |
bundleID | Apple targeted bundle ID<para>Ex: com.mycompany.myapp |
◆ AndroidProjectKey
Android project key (API key) to be used during the communication with the server. It is retrieved from the Google API Console.
◆ IOSBundleID
Apple targeted bundle ID
Ex: com.mycompany.myapp
◆ IOSKeyID
Key ID related to the P8 certificate
Ex: 8Z9JNM2MG8
◆ IOSP8CertificatePath
string IOSP8CertificatePath |
|
get |
Path of the P8 certificate to be used for the communication with the server.
◆ IOSTeamID
Apple Team ID
Ex: PS856PAVJ3
◆ IOSUseSandboxGateway
bool IOSUseSandboxGateway |
|
get |
Status of the gateway to be used. The sandbox gateway must be used for application development.
◆ WPconfigured
The documentation for this class was generated from the following file: