Provides APIs of push installation.
See Also: Inherited members from object.
|
Install
(string, KiiPushInstallation.DeviceType)Install the deviceID of specified platform to KiiCloud. |
|
|
Install
(string, KiiPushInstallation.DeviceType, KiiPushInstallationCallback)Install the deviceID of specified platform to KiiCloud. |
|
|
Uninstall
(string, KiiPushInstallation.DeviceType)Uninstall the deviceID of specified platform to KiiCloud. |
|
|
Uninstall
(string, KiiPushInstallation.DeviceType, KiiPushInstallationCallback)Uninstall the deviceID of specified platform to KiiCloud. |
Install the deviceID of specified platform to KiiCloud.Syntax
Parameters
- deviceId
- iOS : Device Token, Android : Registration ID
- deviceType
- IOS or Android
Exceptions
Type Reason ArgumentException Is thrown when deviceId is null or empty. KiiCorp.Cloud.Storage.CloudException Is thrown when server sends error response. Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Install the deviceID of specified platform to KiiCloud.Syntax
public void Install (string deviceId, KiiPushInstallation.DeviceType deviceType, KiiPushInstallationCallback callback)Parameters
- deviceId
- iOS : Device Token, Android : Registration ID
- deviceType
- IOS or Android
- callback
- Callback delegate. If exception is null, execution is succeeded.
Exceptions
Type Reason ArgumentNullException Is thrown when callback is null. ArgumentException Is thrown when deviceId is null or empty. KiiCorp.Cloud.Storage.CloudException Is thrown when server sends error response. Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Uninstall the deviceID of specified platform to KiiCloud.Syntax
Parameters
- deviceId
- iOS : Device Token, Android : Registration ID
- deviceType
- IOS or Android
Exceptions
Type Reason ArgumentException Is thrown when deviceId is null or empty. KiiCorp.Cloud.Storage.CloudException Is thrown when server sends error response. Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Uninstall the deviceID of specified platform to KiiCloud.Syntax
public void Uninstall (string deviceId, KiiPushInstallation.DeviceType deviceType, KiiPushInstallationCallback callback)Parameters
- deviceId
- iOS : Device Token, Android : Registration ID
- deviceType
- IOS or Android
- callback
- Callback delegate. If exception is null, execution is succeeded.
Exceptions
Type Reason ArgumentNullException Is thrown when callback is null. ArgumentException Is thrown when deviceId is null or empty. KiiCorp.Cloud.Storage.CloudException Is thrown when server sends error response. Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0