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

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Look up the concrete type from the JVM.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.