Device API
chevron down

Device API

Interface: BasicDeviceInfo

Information related to the peer device.

NOTE: these properties are equivalent to those accessible through the Web API as documented here.

Implemented by peer.PeerDevice, device.Device


readonly lastSyncTime


Time at which the device was last sync'ed.

readonly modelId


Device model identifier. Developer-facing device model ID.

NOTE: the model identifier is always the same for a given device, even when the model name may change.

readonly modelName


Device model name. User-facing device model name as displayed in the Fitbit mobile application. Example: Ionic

NOTE: the model name may change over time for a given device as it may be different before and after a device is released commercially. Once a device is released commercially, the model name remains the same.

readonly screen

{ readonly width: number; readonly height: number; }

Device screen information.

readonly type


Device type. Standard device types include WATCH for smart watches and TRACKER for trackers.