public class FusedLocationHardwareSecure
extends IFusedLocationHardware.Stub
Constructor and Description |
---|
FusedLocationHardwareSecure(IFusedLocationHardware locationHardware,
Context context,
String permissionId) |
Modifier and Type | Method and Description |
---|---|
void |
flushBatchedLocations() |
int |
getSupportedBatchSize() |
int |
getVersion() |
void |
injectDeviceContext(int deviceEnabledContext) |
void |
injectDiagnosticData(String data) |
void |
registerSink(IFusedLocationHardwareSink eventSink) |
void |
requestBatchOfLocations(int batchSizeRequested) |
void |
startBatching(int id,
FusedBatchOptions batchOptions) |
void |
stopBatching(int id) |
boolean |
supportsDeviceContextInjection() |
boolean |
supportsDiagnosticDataInjection() |
void |
unregisterSink(IFusedLocationHardwareSink eventSink) |
void |
updateBatchingOptions(int id,
FusedBatchOptions batchoOptions) |
public void registerSink(IFusedLocationHardwareSink eventSink) throws RemoteException
RemoteException
public void unregisterSink(IFusedLocationHardwareSink eventSink) throws RemoteException
RemoteException
public int getSupportedBatchSize() throws RemoteException
RemoteException
public void startBatching(int id, FusedBatchOptions batchOptions) throws RemoteException
RemoteException
public void stopBatching(int id) throws RemoteException
RemoteException
public void updateBatchingOptions(int id, FusedBatchOptions batchoOptions) throws RemoteException
RemoteException
public void requestBatchOfLocations(int batchSizeRequested) throws RemoteException
RemoteException
public boolean supportsDiagnosticDataInjection() throws RemoteException
RemoteException
public void injectDiagnosticData(String data) throws RemoteException
RemoteException
public boolean supportsDeviceContextInjection() throws RemoteException
RemoteException
public void injectDeviceContext(int deviceEnabledContext) throws RemoteException
RemoteException
public void flushBatchedLocations() throws RemoteException
RemoteException
public int getVersion() throws RemoteException
RemoteException