-
Notifications
You must be signed in to change notification settings - Fork 4
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);
/// <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);