Click or drag to resize

WifiManagerGetSleepPolicy Method

Gets the current policy for deciding when Wi-Fi should go to sleep (which will in turn switch to using the mobile data as an Internet connection).

Namespace:  Com.Datalogic.Device.Wifi
Assembly:  datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public virtual WifiManagerSleepPolicy GetSleepPolicy()

Return Value

Type: WifiManagerSleepPolicy
a [T:Com.Datalogic.Device.Wifi.WifiManager+SleepPolicy] status value.
Remarks

Gets the current policy for deciding when Wi-Fi should go to sleep (which will in turn switch to using the mobile data as an Internet connection).

[Android Documentation]

See Also