Class JPushMessage.Builder

  • Enclosing class:

    public static class JPushMessage.Builder
    extends java.lang.Object
    Builder of JPushMessage.
    • Method Detail

      • build

        public JPushMessage build()
        Build and return JPushMessage.
      • enable

        public JPushMessage.Builder enable​(boolean enabled)
        Set flag of JPush delivery. If omit calling this method, JPush delivery is enabled. If KiiPushMessage.Builder.enableJPush(boolean) called after KiiPushMessage.Builder#withJPushMessage(GCMMessage), This property would be overwritten. (The converse also overwrite the property.)
        enabled - if true message would be delivered via JPush. If false, this message would not delivered thru JPush.
        Builder of the message