pub trait Interface: Send + Sync {
// Provided methods
fn as_binder(&self) -> SIBinder { ... }
fn dump(&self, _writer: &mut dyn Write, _args: &[String]) -> Result<()> { ... }
}Expand description
Super-trait for Binder interfaces.
This trait allows conversion of a Binder interface trait object into an IBinder object for IPC calls. All Binder remotable interface (i.e. AIDL interfaces) must implement this trait.
This is equivalent IInterface in C++.