KiiCloudStorageSDK : KiiCorp.Cloud.Storage Namespace

KiiPushMessage Class

Used for sending message to topic. Able to generate common, android/ios specific message.

Syntax

public class KiiPushMessage

Remarks

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

static
BuildWith (KiiPushMessageData) : KiiPushMessage.Builder
Instantiate message builder with the data.
ToJson () : JsonOrg.JsonObject
Get JSONObjcet representation of this message. Operation of returned JSON object won't affect this object.
override
ToString () : string
Returns result of KiiPushMessage.ToJson as string.

Member Details

BuildWith Method

Instantiate message builder with the data.

Syntax

public static KiiPushMessage.Builder BuildWith (KiiPushMessageData messageData)

Parameters

messageData
Message data.

Returns

Builder of the message.

Exceptions

Type Reason
ArgumentNullException Is thrown when an argument is null.

Remarks

Requirements

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

ToJson Method

Get JSONObjcet representation of this message. Operation of returned JSON object won't affect this object.

Syntax

public JsonOrg.JsonObject ToJson ()

Returns

Represents this message.

Remarks

Requirements

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

ToString Method

Returns result of KiiPushMessage.ToJson as string.

Syntax

public override string ToString ()

Returns

JSON string.

Remarks

Requirements

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