Notification SDK Server  4.31.0
The Notification SDK Server provides a library to send notification to various devices (iOS and Android)
NotificationSDKServerCredentials Class Reference

Public Member Functions

 NotificationSDKServerCredentials ()
 Creates a NotificationSDKServerCredentials object. More...
 
void SetAndroidPlatformCredentials (string projectKey)
 Sets the credentials for the Android specific notification service.It is retrieved from the Google API Console. More...
 
void SetIOSPlatformCredentials (bool useSandboxGateway, string p8CertificatePath, string keyID, string teamID, string bundleID)
 Sets the credentials for the iOS specific notification service using a P8 token More...
 

Properties

string AndroidProjectKey [get]
 Android project key (API key) to be used during the communication with the server. It is retrieved from the Google API Console. More...
 
bool IOSUseSandboxGateway [get]
 Status of the gateway to be used. The sandbox gateway must be used for application development. More...
 
string IOSP8CertificatePath [get]
 Path of the P8 certificate to be used for the communication with the server. More...
 
string IOSKeyID [get]
 Key ID related to the P8 certificate More...
 
string IOSTeamID [get]
 Apple Team ID More...
 
string IOSBundleID [get]
 Apple targeted bundle ID More...
 
bool WPconfigured [get]
 WP configured More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ NotificationSDKServerCredentials()

Creates a NotificationSDKServerCredentials object.

The platform specific attributes must be set using the dedicated methods.

Member Function Documentation

◆ SetAndroidPlatformCredentials()

void SetAndroidPlatformCredentials ( string  projectKey)
inline

Sets the credentials for the Android specific notification service.It is retrieved from the Google API Console.

Parameters
projectKeyKey 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
useSandboxGatewayspecify if the sandbox gateway must be used
p8CertificatePaththe path to the p8 token to be used for the communication with the server
keyIDKey ID related to the P8 certificate<para>Ex: 8Z9JNM2MG8
teamIDApple Team ID<para>Ex: PS856PAVJ3
bundleIDApple targeted bundle ID<para>Ex: com.mycompany.myapp

Property Documentation

◆ AndroidProjectKey

string AndroidProjectKey
get

Android project key (API key) to be used during the communication with the server. It is retrieved from the Google API Console.

◆ IOSBundleID

string IOSBundleID
get

Apple targeted bundle ID

Ex: com.mycompany.myapp

◆ IOSKeyID

string IOSKeyID
get

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

string IOSTeamID
get

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

bool WPconfigured
get

WP configured


The documentation for this class was generated from the following file: