public class ActivityRecognitionProxy extends Object
Modifier and Type | Method and Description |
---|---|
static ActivityRecognitionProxy |
createAndBind(Context context,
Handler handler,
boolean activityRecognitionHardwareIsSupported,
ActivityRecognitionHardware activityRecognitionHardware,
int overlaySwitchResId,
int defaultServicePackageNameResId,
int initialPackageNameResId)
Creates an instance of the proxy and binds it to the appropriate FusedProvider.
|
public static ActivityRecognitionProxy createAndBind(Context context, Handler handler, boolean activityRecognitionHardwareIsSupported, ActivityRecognitionHardware activityRecognitionHardware, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNameResId)