Skip to main content
Version: 8.0.3

sos.management

The sos.management API group provides methods for managing the device. Through this API things like device firmware, battery status, brightness, network information, remote control, power, time or volume can be monitored.

Methods

factoryReset()

The factoryReset() method initializes the factory reset of the device.

factoryReset(): Promise<void>;

getBatteryStatus()

The getBatteryStatus() method returns information about the battery of the device.

getBatteryStatus(): Promise<IBatteryStatus>;

getBrand()

The getBrand() method returns the manufacturer brand of the device.

getBrand(): Promise<string>;

getExtendedManagementUrl()

The getExtendedManagementUrl() method returns the management url of the device.

info

This is currently only implemented for the MagicInfo on Tizen platform.

getExtendedManagementUrl(): Promise<string | null>;

getModel()

The getModel() method returns the model of the device.

getModel(): Promise<string>;

getSerialNumber()

The getSerialNumber() method returns the serial number of the device.

getSerialNumber(): Promise<string>;

getTemperature()

The getTemperature() method returns the temperature of the device (in 0-100 range of degrees Celsius).

getTemperature(): Promise<number>;

isHardwareAccelerationEnabled()

The isHardwareAccelerationEnabled() method returns whether hardware acceleration is enabled.

isHardwareAccelerationEnabled(): Promise<boolean>;

resetSettings()

The resetSettings() method initializes the reset of the specific device settings.

info

This is currently only implemented on Linux platform.

resetSettings(): Promise<void>;

setExtendedManagementUrl()

The getExtendedManagementUrl() set the management url of the device.

info

This is currently only implemented for the MagicInfo on Tizen platform.

setExtendedManagementUrl(url: string | null): Promise<void>;

Params

NameTypeDescription
urlstring | nullThe management URL to set.

setHardwareAcceleration()

The setHardwareAcceleration() method enables or disables hardware acceleration.

setHardwareAcceleration(enabled: boolean): Promise<void>;

Params

NameTypeDescription
enabledbooleanWhether hardware acceleration should be enabled.

supports()

The supports() method determines whether a queried capability is supported.

supports(capability: ManagementCapability): Promise<boolean>;

Params

NameTypeDescription
capabilityManagementCapabilityThe capability to check for support.

getNetworkInfo()

Deprecated

This method was deprecated. Use sos.management.network.listInterfaces() instead.

getNetworkInfo(): Promise<INetworkInfo>;