binder

Function get_interface

Source
pub fn get_interface<T: FromIBinder + ?Sized>(
    name: &str,
) -> Result<Strong<T>, StatusCode>
👎Deprecated: this polls 5s, use wait_for_interface or check_interface
Expand description

Retrieve an existing service for a particular interface, blocking for a few seconds if it doesn’t yet exist.