Skip to content

Service Settings

MilleBo edited this page Mar 3, 2017 · 1 revision

Access the settings service through the device class, for example:

device.Settings.Wifi(State.Enable);

All available settings methods

/// <summary>
/// Enable or disable wifi
/// </summary>
/// <param name="state">Wanted state of wifi</param>
void Wifi(State state);

/// <summary>
/// Enable or disable gps
/// </summary>
/// <param name="state">Wanted state of gps</param>
void Gps(State state);

/// <summary>
/// Enable or disable airplane mode
/// </summary>
/// <param name="state">Wanted state of airplane mode</param>
void AirplaneMode(State state);
Clone this wiki locally