"Push to User" notifications provide a means to push messages using a publisher-subscriber model. This feature will let you and your app users quickly send messages to other users while providing a way to scope to whom the messages are sent.
See Also: Inherited members from ReceivedMessage.
[read-only] | ActionIdentifier | string . Return the action identifier given by APNS plugin callback. Always null for GCM push. (Inherited from ReceivedMessage.) |
[read-only] | KiiTopic | KiiTopic . Generate KiiTopic based on the information parsed from push message. |
[read-only] | ObjectScope | Nullable<ReceivedMessage.Scope> . Return the scope of the object to which the event is occurred. (Inherited from ReceivedMessage.) |
[read-only] | ObjectScopeGroup | KiiGroup . Return the group that the bucket generated notification belongs to. Push message has this field only if the bucket is group scoped. |
[read-only] | ObjectScopeUser | KiiUser . Return the user that the bucket generated notification belongs to. Push message has this field only if the subscribed bucket is user scoped. |
[read-only] override |
PushMessageType | ReceivedMessage.MessageType . Return the push message type. |
[read-only] abstract |
PushMessageType | ReceivedMessage.MessageType . Return the push message type. (Inherited from ReceivedMessage.) |
[read-only] | Sender | KiiUser . Return the user who causes the notification. (Inherited from ReceivedMessage.) |
|
ContainsKiiTopic
()Checks whether push message contains KiiTopic or not. |
|
|
GetBoolean
(string)Returns the value associated with the given key, or false if no mapping of the desired type exists for the given key. (Inherited from ReceivedMessage.) |
|
|
GetDouble
(string)Returns the value associated with the given key, or 0 if no mapping of the desired type exists for the given key. (Inherited from ReceivedMessage.) |
|
|
GetInt
(string)Returns the value associated with the given key, or 0 if no mapping of the desired type exists for the given key. (Inherited from ReceivedMessage.) |
|
|
GetLong
(string)Returns the value associated with the given key, or 0 if no mapping of the desired type exists for the given key. (Inherited from ReceivedMessage.) |
|
|
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. (Inherited from ReceivedMessage.) |
|
|
Has
(string)Returns true if this object has a mapping for given key. (Inherited from ReceivedMessage.) |
|
|
ToJson
()Get JSONObjcet representation of this message. (Inherited from ReceivedMessage.) |
Checks whether push message contains KiiTopic or not.Syntax
public bool ContainsKiiTopic ()Returns
true if the push message contains topic, false otherwise.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Generate KiiTopic based on the information parsed from push message.Syntax
public KiiTopic KiiTopic { get; }Value
The topic instance in which a message is sent or null if PushToUserMessage.ContainsKiiTopic is false.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Return the group that the bucket generated notification belongs to. Push message has this field only if the bucket is group scoped.Syntax
public KiiGroup ObjectScopeGroup { get; }Value
KiiGroup.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Return the user that the bucket generated notification belongs to. Push message has this field only if the subscribed bucket is user scoped.Syntax
public KiiUser ObjectScopeUser { get; }Value
KiiUser.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Return the push message type.Syntax
public override 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