Represents push message.
See Also: Inherited members from object.
[read-only] | ActionIdentifier | string . Return the action identifier given by APNS plugin callback. Always null for GCM push. |
[read-only] | ObjectScope | Nullable<ReceivedMessage.Scope> . Return the scope of the object to which the event is occurred. |
[read-only] abstract |
PushMessageType | ReceivedMessage.MessageType . Return the push message type. |
[read-only] | Sender | KiiUser . Return the user who causes the notification. |
|
GetBoolean
(string)Returns the value associated with the given key, or false if no mapping of the desired type exists for the given key. |
|
|
GetDouble
(string)Returns the value associated with the given key, or 0 if no mapping of the desired type exists for the given key. |
|
|
GetInt
(string)Returns the value associated with the given key, or 0 if no mapping of the desired type exists for the given key. |
|
|
GetLong
(string)Returns the value associated with the given key, or 0 if no mapping of the desired type exists for the given key. |
|
|
GetString
(string)Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
|
|
Has
(string)Returns true if this object has a mapping for given key. |
|
static
|
Parse
(string)Parse the json that is received from GCM or APNS server as push message. |
|
|
ToJson
()Get JSONObjcet representation of this message. |
Return the action identifier given by APNS plugin callback. Always null for GCM push.Syntax
public string ActionIdentifier { get; }Value
The APNS action identifier.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Returns the value associated with the given key, or false if no mapping of the desired type exists for the given key.Syntax
Parameters
- key
- a string key.
Returns
a boolean value.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Returns the value associated with the given key, or 0 if no mapping of the desired type exists for the given key.Syntax
Parameters
- key
- a string key.
Returns
a double value.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Returns the value associated with the given key, or 0 if no mapping of the desired type exists for the given key.Syntax
Parameters
- key
- a string key.
Returns
a int value.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Returns the value associated with the given key, or 0 if no mapping of the desired type exists for the given key.Syntax
Parameters
- key
- a string key.
Returns
a long value.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key.Syntax
Parameters
- key
- a string key.
Returns
a string value.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Returns true if this object has a mapping for given key.Syntax
Parameters
- key
- a string key.
Returns
true if this instance has key; otherwise, false.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Return the scope of the object to which the event is occurred.Syntax
public Nullable<ReceivedMessage.Scope> ObjectScope { get; }Value
The object scope.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Parse the json that is received from GCM or APNS server as push message.Syntax
public static ReceivedMessage Parse (string json)Parameters
- json
- message json.
Returns
Instance of KiiCorp.Cloud.Storage.ReceivedMessageRemarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Return the push message type.Syntax
public abstract ReceivedMessage.MessageType PushMessageType { get; }Value
The type of the push message.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Return the user who causes the notification.Syntax
public virtual KiiUser Sender { get; }Value
The sender.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Get JSONObjcet representation of this message.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