ARTLocalDevice

Objective-C

@interface ARTLocalDevice : ARTDeviceDetails

Swift

class ARTLocalDevice : ARTDeviceDetails, @unchecked Sendable

Contains the device identity token and secret of a device. ARTLocalDevice extends ARTDeviceDetails.

  • A unique device identity token used to communicate with APNS.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) ARTDeviceIdentityTokenDetails *identityTokenDetails;

    Swift

    var identityTokenDetails: ARTDeviceIdentityTokenDetails? { get }
  • A unique device secret generated by the Ably SDK.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) ARTDeviceSecret *secret;

    Swift

    var secret: String? { get }