public class LocationServicesOkObservable
extends <any>
RxBleClient.scanBleDevices(UUID...)
would cause the exception BleScanException.LOCATION_SERVICES_DISABLED; otherwise emits true.
Always emits true in Android versions prior to 6.0.
Typically, receiving false should cause the user to be prompted to enable Location Services.| Modifier and Type | Method and Description |
|---|---|
static LocationServicesOkObservable |
createInstance(android.content.Context context) |
protected void |
subscribeActual(<any> observer) |
public static LocationServicesOkObservable createInstance(android.content.Context context)
protected void subscribeActual(<any> observer)