bindService
Binds an object of type R to the RemoteService at a given UUID whenever it is available and updates the object whenever it changes.
Parameters
the UUID of the RemoteService to bind to
the function that updates the object whenever the bound object changes
the RemoteServiceBinding.RequiresServicesDiscovered set up binding to the RemoteService
Type Parameters
the type of the object to bind to
Throws
if the RemoteService is not found
Binds an object of type R to the RemoteService at a given UUID whenever it is available and updates the object whenever it changes.
Parameters
the string of the UUID of the RemoteService to bind to
the function that updates the object whenever the bound object changes
the RemoteServiceBinding.RequiresServicesDiscovered set up binding to the RemoteService
Type Parameters
the type of the object to bind to
Throws
if the RemoteService is not found
if the UUID is not valid