write
Writes the value of the descriptor.
Parameters
data
The data to be written.
Throws
if the operation failed.
if the descriptor has been invalidated due to disconnection of service change event.
if the implementation fails, see cause for a reason.