Class

DCDevice

A representation of a device.

Declaration

class DCDevice : NSObject

Topics

Getting the Current Device

class var current: DCDevice

The device for which to perform the check.

Determining API Support

var isSupported: Bool

A Boolean value indicating whether the DeviceCheck APIs are available on the current device.

Getting a Device Token

func generateToken(completionHandler: (Data?, Error?) -> Void)

Generates a token that identifies the current device.

Relationships

Inherits From

Conforms To

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software