PushTokenType

@objc(SBDPushTokenType)
public enum PushTokenType : Int
extension PushTokenType: RawRepresentable, CustomStringConvertible, Codable

Constants of type for device push token.

Since

3.0.134
  • No type.

    Declaration

    Swift

    case none = 0
  • GCM

    Token from Android device.

    Declaration

    Swift

    case GCM = 1
  • Normal Token from iOS device.

    Declaration

    Swift

    case APNS = 2
  • Token used for VoIP from iOS device.

    Declaration

    Swift

    case APNSVoIP = 3
  • Declaration

    Swift

    public typealias RawValue = String
  • Declaration

    Swift

    public var description: String { get }
  • Declaration

    Swift

    public var rawValue: String { get }
  • Declaration

    Swift

    public init(rawValue: String)
  • Default constructor.

    Declaration

    Swift

    public init(from decoder: Decoder) throws

    Parameters

    decoder

    Decoder instance

  • Encodes this object.

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws

    Parameters

    encoder

    Encoder instance