Navigation

Device identity

A representation of a single physical device.

Device vs. Device Identity Every device has an identity called "Device Identity". Device identities are unique across your project, meaning that no two identities are the same. However, any devices that share the same identity can be assumed to be one physical device.

Properties

ID

The id of this device identity generated by Sabil. This is commonly referred to by other objects as identity.

User Count

The number of users who've accessed your project using this device.

Access Count

The number of times your project was accessed using this device.

Users

The users who have accessed the project using this device.

Created At

The date this device was first added to the system.

Created At

The date this device was last updated in the system.

Metadata

The latest metadata that was passed in any identify or attach request using this device.

Object Syntax (Available in API responses only)

Note: Because we try to keep the SDK sizes as small as possible, we only include objects as needed. This object is not needed for the clients as of now, so it is not included. This is only available in the API endpoint responses. Although, the ID of the identity will be referred to and used in all SDKs.

const {  id: String,  user_count: Number,  access_count: Number,  users: User.ID,  createdAt: Date,  updatedAt: Date,  metadata: Map<String, String>} = Device;