Package com.kii.cloud.storage
Class APNSMessage
- java.lang.Object
-
- com.kii.cloud.storage.APNSMessage
-
public class APNSMessage extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
APNSMessage.APNSData
Represent data to be delivered to APNS device.static class
APNSMessage.Builder
Builder of APNSMessage.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static APNSMessage.Builder
builder()
Instantiate APNSessage builder.org.json.JSONObject
toJSON()
Get JSONObjcet representation of this message.java.lang.String
toString()
-
-
-
Method Detail
-
builder
@NonNull public static APNSMessage.Builder builder()
Instantiate APNSessage builder. APNS Delivery is enabled by default.- Returns:
- builder of the message.
-
toString
@NonNull public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- Returns:
toJSON()
.toString()
-
toJSON
@NonNull public org.json.JSONObject toJSON()
Get JSONObjcet representation of this message.- Returns:
- JSONObject represent this message.
-
-