Class Device


  • public class Device
    extends Object
    Device.
    • Field Detail

      • appId

        private String appId
        Required. The app_id given when the pusher was created.
      • pushKey

        private String pushKey
        Required. The pushkey given when the pusher was created.
      • pushKeyTs

        private Long pushKeyTs
        The unix timestamp (in seconds) when the pushkey was last updated.
      • data

        private PusherData data
        A dictionary of additional pusher-specific data. For 'http' pushers, this is the data dictionary passed in at pusher creation minus the url key.
      • tweaks

        private Map<String,​String> tweaks
        A dictionary of customisations made to the way this notification is to be presented. These are added by push rules.
    • Constructor Detail

      • Device

        public Device()
    • Method Detail

      • getAppId

        public String getAppId()
      • setAppId

        public void setAppId​(String appId)
      • getPushKey

        public String getPushKey()
      • setPushKey

        public void setPushKey​(String pushKey)
      • getPushKeyTs

        public Long getPushKeyTs()
      • setPushKeyTs

        public void setPushKeyTs​(Long pushKeyTs)
      • setData

        public void setData​(PusherData data)