Interface Device

    • Method Detail

      • getId

        String getId()
        The unique identifier for the device.
        Returns:
        the id of the device
      • getToken

        String getToken()
        The token of the device that should be used when sending out notifications to it.
        Returns:
        the device token
      • getTokenEncoding

        String getTokenEncoding()
        The type of the encoding for the device.
        Returns:
        the encoding of the device token
      • isEnabled

        boolean isEnabled()
        Whether the device is enabled (i.e. can receive notifications)
        Returns:
        true if the device is enabled, false otherwise
      • getDeviceOS

        String getDeviceOS()
        The operating system of the device
        Returns:
        the operating system of the device
      • getUserId

        String getUserId()
        The id of the user that this device belongs to
        Returns:
        the id of the user that this device belongs to
      • getApplicationId

        String getApplicationId()
        The id of the application that this device is registered for
        Returns:
        the id of the application that the device is registered for
      • getCreatorId

        String getCreatorId()
        The id of the user that created the token.
        Returns:
        the id of the creator
      • getCreationTime

        Date getCreationTime()
        The time when the device was created
        Returns:
        the creation time of the device
      • getUpdaterId

        String getUpdaterId()
        The id of the user that last updated the device
        Returns:
        the id of the updater
      • getUpdateTime

        Date getUpdateTime()
        The time when the device was last updated
        Returns:
        the last update time of the device
      • getTenantId

        String getTenantId()
        The tenant id of the device
        Returns:
        the id of the tenant for the device