binder

Function check_interface

Source
pub fn check_interface<T: FromIBinder + ?Sized>(
    name: &str,
) -> Result<Strong<T>, StatusCode>
Expand description

Retrieve an existing service for a particular interface. Returns Err(StatusCode::NAME_NOT_FOUND) immediately if the service is not available.