DeviceAddResult
public class DeviceAddResult : SdkObject
Metadata for a newly created device.
Can be converted into a DeviceContext
with DeviceContext.init
.
-
ID of the user who owns the device
Declaration
Swift
public lazy var accountId: UserId { get set }
-
ID of the device
Declaration
Swift
public lazy var deviceId: DeviceId { get set }
-
Name of the device
Declaration
Swift
public lazy var name: DeviceName? { get set }
-
Private key of the device
This is different from the user’s private key.
Declaration
Swift
public lazy var devicePrivateKey: PrivateKey { get set }
-
Segment of the user
Declaration
Swift
public lazy var segmentId: UInt { get set }
-
The signing keypair for the device
Declaration
Swift
public lazy var signingPrivateKey: DeviceSigningKeyPair { get set }
-
The date and time of when the device was created
Declaration
Swift
public lazy var created: Date { get set }
-
The date and time of when the device was last updated
Declaration
Swift
public lazy var lastUpdated: Date { get set }