bindService
Binds an object of type R to the included 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
Binds an object of type R to the included 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 UUID is not valid