Methods Summary |
---|
public void | addService(java.lang.String name, IBinder service)Place a new @a service called @a name into the service
manager.
|
public IBinder | checkService(java.lang.String name)Retrieve an existing service called @a name from the
service manager. Non-blocking.
|
public IBinder | getService(java.lang.String name)Retrieve an existing service called @a name from the
service manager. Blocks for a few seconds waiting for it to be
published if it does not already exist.
|
public java.lang.String[] | listServices()Return a list of all currently running services.
|
public void | setPermissionController(IPermissionController controller)Assign a permission controller to the service manager. After set, this
interface is checked before any services are added.
|