android-components / mozilla.components.service.fxa / FxaDeviceConstellation / setDeviceNameAsync
setDeviceNameAsync
fun setDeviceNameAsync(name:
String
, context: <ERROR CLASS>): Deferred<
Boolean
>
(source)
Overrides DeviceConstellation.setDeviceNameAsync
Set name of the current device.
Parameters
name
- New device name.
context
- An application context, used for updating internal caches.
Return A Deferred that will be resolved with a success flag once operation is complete.