public abstract class ActivityRecognitionProviderClient extends Object
Modifier | Constructor and Description |
---|---|
protected |
ActivityRecognitionProviderClient() |
Modifier and Type | Method and Description |
---|---|
IBinder |
getBinder()
Gets the binder needed to interact with proxy provider in the platform.
|
abstract void |
onProviderChanged(boolean isSupported,
ActivityRecognitionProvider instance)
Called when a change in the availability of
ActivityRecognitionProvider is detected. |
public IBinder getBinder()
public abstract void onProviderChanged(boolean isSupported, ActivityRecognitionProvider instance)
ActivityRecognitionProvider
is detected.isSupported
- whether the platform supports the provider nativelyinstance
- the available provider's instance