pub unsafe extern "C" fn AServiceManager_forEachDeclaredInstance(
    interface: *const c_char,
    context: *mut c_void,
    callback: Option<unsafe extern "C" fn(arg1: *const c_char, arg2: *mut c_void)>,
)
Expand description

Returns all declared instances for a particular interface.

For instance, if ‘android.foo.IFoo/foo’ is declared, and ‘android.foo.IFoo’ is passed here, then [“foo”] would be returned.

See also AServiceManager_isDeclared.

\param interface interface, e.g. ‘android.foo.IFoo’ \param context to pass to callback \param callback taking instance (e.g. ‘foo’) and context