android.location
Class ILocationManager.Stub
java.lang.Object
android.os.Binder
android.location.ILocationManager.Stub
- All Implemented Interfaces:
- ILocationManager, IBinder, IInterface
- Enclosing interface:
- ILocationManager
public abstract static class ILocationManager.Stub
- extends Binder
- implements ILocationManager
Local-side IPC implementation stub class.
| Methods inherited from class android.os.Binder |
attachInterface, clearCallingIdentity, dump, finalize, flushPendingCommands, getCallingPid, getCallingUid, getInterfaceDescriptor, isBinderAlive, joinThreadPool, linkToDeath, pingBinder, queryLocalInterface, restoreCallingIdentity, transact, unlinkToDeath |
| Methods inherited from interface android.location.ILocationManager |
addGpsStatusListener, addProximityAlert, addTestProvider, clearTestProviderEnabled, clearTestProviderLocation, clearTestProviderStatus, getAllProviders, getFromLocation, getFromLocationName, getLastKnownLocation, getProviderInfo, getProviders, isProviderEnabled, removeGpsStatusListener, removeProximityAlert, removeTestProvider, removeUpdates, requestLocationUpdates, sendExtraCommand, setTestProviderEnabled, setTestProviderLocation, setTestProviderStatus, updateProviders |
TRANSACTION_getAllProviders
static final int TRANSACTION_getAllProviders
- See Also:
- Constant Field Values
TRANSACTION_getProviders
static final int TRANSACTION_getProviders
- See Also:
- Constant Field Values
TRANSACTION_updateProviders
static final int TRANSACTION_updateProviders
- See Also:
- Constant Field Values
TRANSACTION_requestLocationUpdates
static final int TRANSACTION_requestLocationUpdates
- See Also:
- Constant Field Values
TRANSACTION_removeUpdates
static final int TRANSACTION_removeUpdates
- See Also:
- Constant Field Values
TRANSACTION_addGpsStatusListener
static final int TRANSACTION_addGpsStatusListener
- See Also:
- Constant Field Values
TRANSACTION_removeGpsStatusListener
static final int TRANSACTION_removeGpsStatusListener
- See Also:
- Constant Field Values
TRANSACTION_sendExtraCommand
static final int TRANSACTION_sendExtraCommand
- See Also:
- Constant Field Values
TRANSACTION_addProximityAlert
static final int TRANSACTION_addProximityAlert
- See Also:
- Constant Field Values
TRANSACTION_removeProximityAlert
static final int TRANSACTION_removeProximityAlert
- See Also:
- Constant Field Values
TRANSACTION_getProviderInfo
static final int TRANSACTION_getProviderInfo
- See Also:
- Constant Field Values
TRANSACTION_isProviderEnabled
static final int TRANSACTION_isProviderEnabled
- See Also:
- Constant Field Values
TRANSACTION_getLastKnownLocation
static final int TRANSACTION_getLastKnownLocation
- See Also:
- Constant Field Values
TRANSACTION_getFromLocation
static final int TRANSACTION_getFromLocation
- See Also:
- Constant Field Values
TRANSACTION_getFromLocationName
static final int TRANSACTION_getFromLocationName
- See Also:
- Constant Field Values
TRANSACTION_addTestProvider
static final int TRANSACTION_addTestProvider
- See Also:
- Constant Field Values
TRANSACTION_removeTestProvider
static final int TRANSACTION_removeTestProvider
- See Also:
- Constant Field Values
TRANSACTION_setTestProviderLocation
static final int TRANSACTION_setTestProviderLocation
- See Also:
- Constant Field Values
TRANSACTION_clearTestProviderLocation
static final int TRANSACTION_clearTestProviderLocation
- See Also:
- Constant Field Values
TRANSACTION_setTestProviderEnabled
static final int TRANSACTION_setTestProviderEnabled
- See Also:
- Constant Field Values
TRANSACTION_clearTestProviderEnabled
static final int TRANSACTION_clearTestProviderEnabled
- See Also:
- Constant Field Values
TRANSACTION_setTestProviderStatus
static final int TRANSACTION_setTestProviderStatus
- See Also:
- Constant Field Values
TRANSACTION_clearTestProviderStatus
static final int TRANSACTION_clearTestProviderStatus
- See Also:
- Constant Field Values
ILocationManager.Stub
public ILocationManager.Stub()
- Construct the stub at attach it to the interface.
asInterface
public static ILocationManager asInterface(IBinder obj)
- Cast an IBinder object into an ILocationManager interface,
generating a proxy if needed.
asBinder
public IBinder asBinder()
- Description copied from interface:
IInterface
- Retrieve the Binder object associated with this interface.
You must use this instead of a plain cast, so that proxy objects
can return the correct result.
- Specified by:
asBinder in interface IInterface
onTransact
public boolean onTransact(int code,
Parcel data,
Parcel reply,
int flags)
throws RemoteException
- Description copied from class:
Binder
- Default implementation is a stub that returns false. You will want
to override this to do the appropriate unmarshalling of transactions.
If you want to call this, call transact().
- Overrides:
onTransact in class Binder
- Throws:
RemoteException
Please submit a feedback, bug or feature