pub struct ActivityManagerBinder;Implementations§
Source§impl ActivityManagerBinder
impl ActivityManagerBinder
pub fn open() -> Result<Self, CoreError>
pub fn open_with_observer() -> Result<(Self, OwnedFd), CoreError>
pub fn open_with_fgproc_observer() -> Result<(Self, OwnedFd), CoreError>
pub fn get_focused_task( &self, ) -> Result<Option<(i32, Option<String>)>, CoreError>
pub fn get_focused_package(&self) -> Result<Option<String>, CoreError>
pub fn get_focused_task_id(&self) -> Result<Option<i32>, CoreError>
Auto Trait Implementations§
impl Freeze for ActivityManagerBinder
impl RefUnwindSafe for ActivityManagerBinder
impl Send for ActivityManagerBinder
impl Sync for ActivityManagerBinder
impl Unpin for ActivityManagerBinder
impl UnsafeUnpin for ActivityManagerBinder
impl UnwindSafe for ActivityManagerBinder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more