initialize Device
Create a new device record for this application.
💾 This method alters the persisted account state.
This method register a device record for the application, providing basic metadata for the device along with a list of supported Device Capabilities for participating in the "device commands" ecosystem.
Applications should call this method soon after a successful sign-in, to ensure they they appear correctly in the user's account-management pages and when discovered by other devices connected to the account.
Arguments
name- human-readable display name to use for this applicationdevice_type- the type of device the application is installed onsupported_capabilities- the set of capabilities to register for this device in the "device commands" ecosystem.
Notes
Device registration is only available to applications that have been granted the
https://identity.mozilla.com/apps/oldsyncscope.