Device
extension Device
-
Alias for Device token.
Declaration
Swift
public typealias Token = String
-
Undocumented
Declaration
Swift
public private(set) static var token: Token? { get set }
-
Retrieve an unique token for the current device.
Declaration
Swift
public static func fetchToken(completionHandler: @escaping (Result<Token, DeviceError>) -> Void)
-
true
if device is an simulator.Declaration
Swift
public var isSimulatorCase: Bool { get }
-
true
if device is a jailbroken one.Declaration
Swift
public static var isJailBroken: Bool