pub enum AndroidPermissionGroup {
Show 15 variants
ActivityRecognition,
Calendar,
CallLog,
Camera,
Contacts,
Location,
Microphone,
NearbyDevices,
Notifications,
Phone,
ReadMediaAural,
ReadMediaVisual,
Sensors,
Sms,
Storage,
}Expand description
Android Permission Group
See for more details: https://developer.android.com/reference/android/Manifest.permission_group
Variants
ActivityRecognition
Used for permissions that are associated with activity recognition.
Calendar
Used for runtime permissions related to user’s calendar.
CallLog
Used for permissions that are associated telephony features.
Camera
Used for permissions that are associated with accessing camera or capturing images/video from the device.
Contacts
Used for runtime permissions related to contacts and profiles on this device.
Location
Used for permissions that allow accessing the device location.
Microphone
Used for permissions that are associated with accessing microphone audio from the device.
NearbyDevices
Required to be able to discover and connect to nearby Bluetooth devices.
Protection level: dangerous
Notifications
Used for permissions that are associated with posting notifications.
Phone
Used for permissions that are associated telephony features.
ReadMediaAural
Required to be able to read audio files from shared storage.
Protection level: dangerous
ReadMediaVisual
Required to be able to read image and video files from shared storage.
Protection level: dangerous
Sensors
Used for permissions that are associated with accessing body or environmental sensors.
Sms
Used for runtime permissions related to user’s SMS messages.
Storage
Used for runtime permissions related to the shared external storage.
Implementations
sourceimpl AndroidPermissionGroup
impl AndroidPermissionGroup
pub fn android_permission_group_name(&self) -> String
Trait Implementations
sourceimpl Clone for AndroidPermissionGroup
impl Clone for AndroidPermissionGroup
sourcefn clone(&self) -> AndroidPermissionGroup
fn clone(&self) -> AndroidPermissionGroup
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AndroidPermissionGroup
impl Debug for AndroidPermissionGroup
sourceimpl Display for AndroidPermissionGroup
impl Display for AndroidPermissionGroup
impl Copy for AndroidPermissionGroup
impl Eq for AndroidPermissionGroup
impl StructuralEq for AndroidPermissionGroup
impl StructuralPartialEq for AndroidPermissionGroup
Auto Trait Implementations
impl RefUnwindSafe for AndroidPermissionGroup
impl Send for AndroidPermissionGroup
impl Sync for AndroidPermissionGroup
impl Unpin for AndroidPermissionGroup
impl UnwindSafe for AndroidPermissionGroup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more