KiiCloudStorageSDK : KiiCorp.Cloud.Storage Namespace

KiiPushInstallation Class

Provides APIs of push installation.

Syntax

public class KiiPushInstallation

Remarks

To get this instance, please use KiiUser.PushInstallation property.

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

Members

See Also: Inherited members from object.

Public Methods

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.

Member Details

Install Method

Install the deviceID of specified platform to KiiCloud.

Syntax

public void Install (string deviceId, KiiPushInstallation.DeviceType deviceType)

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 Method

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 Method

Uninstall the deviceID of specified platform to KiiCloud.

Syntax

public void Uninstall (string deviceId, KiiPushInstallation.DeviceType deviceType)

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 Method

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