binder

Function delegate_accessor

Source
pub fn delegate_accessor(
    name: &str,
    binder: SpIBinder,
) -> Result<SpIBinder, StatusCode>
Expand description

Register a new service with the default service manager.

Registers the given binder object with the given identifier. If successful, this service can then be retrieved using that identifier.

This function will panic if the identifier contains a 0 byte (NUL).