Class TdApi.DeviceTokenApplePushVoIP

Enclosing class:
TdApi

public static class TdApi.DeviceTokenApplePushVoIP extends TdApi.DeviceToken
A token for Apple Push Notification service VoIP notifications.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    Device token; may be empty to deregister a device.
    boolean
    True, if push notifications must be additionally encrypted.
    boolean
    True, if App Sandbox is enabled.
  • Constructor Summary

    Constructors
    Constructor
    Description
    A token for Apple Push Notification service VoIP notifications.
    DeviceTokenApplePushVoIP(String deviceToken, boolean isAppSandbox, boolean encrypt)
    A token for Apple Push Notification service VoIP notifications.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • deviceToken

      public String deviceToken
      Device token; may be empty to deregister a device.
    • isAppSandbox

      public boolean isAppSandbox
      True, if App Sandbox is enabled.
    • encrypt

      public boolean encrypt
      True, if push notifications must be additionally encrypted.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • DeviceTokenApplePushVoIP

      public DeviceTokenApplePushVoIP()
      A token for Apple Push Notification service VoIP notifications.
    • DeviceTokenApplePushVoIP

      public DeviceTokenApplePushVoIP(String deviceToken, boolean isAppSandbox, boolean encrypt)
      A token for Apple Push Notification service VoIP notifications.
      Parameters:
      deviceToken - Device token; may be empty to deregister a device.
      isAppSandbox - True, if App Sandbox is enabled.
      encrypt - True, if push notifications must be additionally encrypted.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR