android manifest 权限组,Manifest.permission_group

本文介绍了AndroidManifest.permission_group中不同的权限组,包括ACTIVITY_RECOGNITION、CALENDAR、CALL_LOG、CAMERA、CONTACTS、LOCATION、MICROPHONE、NEARBY_DEVICES、PHONE、SENSORS、SMS和STORAGE等,详细解析了每个权限组与哪些功能相关。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Manifest.permission_group

public

static

final

class

Manifest.permission_group

extends Object↳

android.Manifest.permission_group

Summary

Constants

Used for permissions that are associated with activity recognition.

Used for runtime permissions related to user's calendar.

Used for permissions that are associated telephony features.

Used for permissions that are associated with accessing

camera or capturing images/video from the device.

Used for runtime permissions related to contacts and profiles on this

device.

Used for permissions that allow accessing the device location.

Used for permissions that are associated with accessing

microphone audio from the device.

Required to be able to discover and connect to nearby Bluetooth devices.

Used for permissions that are associated telephony features.

Used for permissions that are associated with accessing

body or environmental sensors.

Used for runtime permissions related to user's SMS messages.

Used for runtime permissions related to the shared external storage.

Public constructors

Inherited methods

Creates and returns a copy of this object.

boolean

Indicates whether some other object is "equal to" this one.

void

Called by the garbage collector on an object when garbage collection

determines that there are no more references to the object.

final

Class>

Returns the runtime class of this Object.

int

Returns a hash code value for the object.

final

void

Wakes up a single thread that is waiting on this object's

monitor.

final

void

Wakes up all threads that are waiting on this object's monitor.

Returns a string representation of the object.

final

void

wait(long timeout, int nanos)

Causes the current thread to wait until another thread invokes the

final

void

wait(long timeout)

Causes the current thread to wait until either another thread invokes the

final

void

Causes the current thread to wait until another thread invokes the

Constants

ACTIVITY_RECOGNITION

public static final String ACTIVITY_RECOGNITION

Used for permissions that are associated with activity recognition.

Constant Value:

"android.permission-group.ACTIVITY_RECOGNITION"

CALENDAR

public static final String CALENDAR

Used for runtime permissions related to user's calendar.

Constant Value:

"android.permission-group.CALENDAR"

CALL_LOG

public static final String CALL_LOG

Used for permissions that are associated telephony features.

Constant Value:

"android.permission-group.CALL_LOG"

CAMERA

public static final String CAMERA

Used for permissions that are associated with accessing

camera or capturing images/video from the device.

Constant Value:

"android.permission-group.CAMERA"

CONTACTS

public static final String CONTACTS

Used for runtime permissions related to contacts and profiles on this

device.

Constant Value:

"android.permission-group.CONTACTS"

LOCATION

public static final String LOCATION

Used for permissions that allow accessing the device location.

Constant Value:

"android.permission-group.LOCATION"

MICROPHONE

public static final String MICROPHONE

Used for permissions that are associated with accessing

microphone audio from the device. Note that phone calls also capture audio

but are in a separate (more visible) permission group.

Constant Value:

"android.permission-group.MICROPHONE"

NEARBY_DEVICES

public static final String NEARBY_DEVICES

Required to be able to discover and connect to nearby Bluetooth devices.

Protection level: dangerous

Constant Value:

"android.permission-group.NEARBY_DEVICES"

PHONE

public static final String PHONE

Used for permissions that are associated telephony features.

Constant Value:

"android.permission-group.PHONE"

SENSORS

public static final String SENSORS

Used for permissions that are associated with accessing

body or environmental sensors.

Constant Value:

"android.permission-group.SENSORS"

SMS

public static final String SMS

Used for runtime permissions related to user's SMS messages.

Constant Value:

"android.permission-group.SMS"

STORAGE

public static final String STORAGE

Used for runtime permissions related to the shared external storage.

Constant Value:

"android.permission-group.STORAGE"

Public constructors

permission_group

public permission_group ()

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值