public final class FusedProxy extends Object
Modifier and Type | Method and Description |
---|---|
static FusedProxy |
createAndBind(Context context,
Handler handler,
IFusedLocationHardware locationHardware,
int overlaySwitchResId,
int defaultServicePackageNameResId,
int initialPackageNameResId)
Creates an instance of the proxy and binds it to the appropriate FusedProvider.
|
public static FusedProxy createAndBind(Context context, Handler handler, IFusedLocationHardware locationHardware, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNameResId)
context
- The context needed for construction.handler
- The handler needed for construction.locationHardware
- The instance of the Fused location hardware assigned to the proxy.