Be aware: Foundation will NEVER ask for your seed words, device PIN, or call you unexpectedly. If anyone does, it's a scam.

Struct

AppManagerApi

pub struct AppManagerApi<P: CheckedPermissions>(/* private fields */);

Implementations

impl<P: CheckedPermissions> AppManagerApi<P>

pub fn app_name_by_app_id(&self, id: &AppId, locale: &str) -> Option<String>
where P: MessageAllowed<GetAppName>,

Permission: os/app-manager / GetAppName

Permission group: app-management.app-metadata

Required signature: thirdParty

Approval: autoAllow

pub fn app_name_by_pid(&self, pid: PID, locale: &str) -> Option<String>
where P: MessageAllowed<GetAppName>,

Permission: os/app-manager / GetAppName

Permission group: app-management.app-metadata

Required signature: thirdParty

Approval: autoAllow

pub fn get_qr_match_rules(&self) -> Vec<AppQrMatchRules>
where P: MessageAllowed<GetQrMatchRules>,

Permission: os/app-manager / GetQrMatchRules

Permission group: app-management.app-metadata

Required signature: thirdParty

Approval: autoAllow

pub fn get_app_icon( &self, app_id: &str, variant: IconVariant, ) -> Option<Vec<u8>>
where P: MessageAllowed<GetAppIcon>,

Permission: os/app-manager / GetAppIcon

Permission group: app-management.app-metadata

Required signature: thirdParty

Approval: autoAllow

Trait Implementations

impl<P: Clone + CheckedPermissions> Clone for AppManagerApi<P>

fn clone(&self) -> AppManagerApi<P>

Returns a duplicate of the value. Read more
1.0.0

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl<P: Default + CheckedPermissions> Default for AppManagerApi<P>

fn default() -> AppManagerApi<P>

Returns the “default value” for a type. Read more

Auto Trait Implementations

impl<P> Freeze for AppManagerApi<P>

impl<P> RefUnwindSafe for AppManagerApi<P>

impl<P> Send for AppManagerApi<P>

impl<P> Sync for AppManagerApi<P>

impl<P> Unpin for AppManagerApi<P>

impl<P> UnsafeUnpin for AppManagerApi<P>

impl<P> UnwindSafe for AppManagerApi<P>