Android class reference-manifest. permission_group

Source: Internet
Author: User

1. inheritance relationship

Java. Lang. Object

| _____ Android. manifest. permission_group

2. class overview

The permission_group class is a public static constant class, in which constants define the permission Group of the Android system.

Constant

String

Accounts

Directly access the permission Group of the account managed by the account manager

String

Cost_money

Permission groups that allow users to use the indirect payment feature

String

Development_tools

Permission groups related to development functions

String

Hardware_controls

Permission group for direct access to device hardware

String

Location

Permission group that allows access to the user's current location

String

Messages

The permission group that allows applications to send messages on behalf of users or interrupt messages received by users.

String

Network

Provides access permission groups for network services.

String

Personal_info

It is used to provide permission groups for accessing user private data, such as Address Book, calendar events, emails, and short messages.

String

Phone_cils

A permission group associated with the access and editing phone status, such as terminal call, reading, and editing phone status.

String

Storage

Permission groups related to SD card access.

String

System_tools

Permission groups related to system APIs.

Common constructor: manifest. permission_group ()

Inherited method: From the java. Lang. Object Class

3. Category details

Constant

Public static final string accounts

This constant defines the permissions to directly access the account managed by the account manager.

Constant Value: Android. permission-group.ACCOUNTS.

Public static final string cost_money

This constant defines the permissions that allow users to use indirect service functions. For example, this permission group allows direct dialing and direct sending of SMS messages.

Constant Value: Android. permission-group.COST_MONEY.

Public static final string development_tools

This constant defines a permission group for relative development features. These permissions should not appear in common applications, and they protect APIs for development purposes only.

Constant Value: Android. permission-group.DEVELOPMENT_TOOLS

Public static final string hardware_controls

This constant defines the permissions used to provide direct access to the hardware on the device, including sound, camera, and vibrator.

Constant Value: Android. permission-group.HARDWARE_CONTROLS

Public static final string localtion

This constant defines the permission to access the user's current location.

Constant Value: Android. permission-group.LOCATION

Public static final string messages

This constant defines the permission to allow applications to send messages on behalf of users or interrupt messages that users are receiving. This permission is mainly used for SMS/MMS messages, such as receiving or reading MMS messages.

Constant Value: Android. permission-group.MESSAGES

Public static final string Network

This constant defines the permissions to access network services. The primary permission is Internet access, but it also applies to access or edit network configurations, or other related network operations.

Constant Value: Android. permission-group.NETWORK

Public static final string personal_info

This constant defines the permissions to access user private data, such as Address Book, calendar events, and email. Including data read and write permissions (generally, it should show two different permissions ).

Constant Value: Android. permission-group.PERSONAL_INFO

Public static final string phone_cils

This constant defines the permissions associated with accessing and editing the phone status: the call from the terminal, reading and editing the phone status. Note that dialing by phone is not in this permission group because it is in the more important "takin 'yer moneys" (paid) Group

Public static final string Storage

This constant Defines permissions related to SD card access.

Constant Value: Android. permission-group.STORAGE

Public static final string system_tools

This constant Defines permissions related to system APIs. Many of them are expected to be understood by users who do not have permissions, and such permissions should be marked as "normal" protection level, so these permissions are not displayed. However, this permission can be used to provide some miscellaneous functions for accessing the operating system, such as writing global system settings.

Constant Value: Android. permission-group.SYSTEM_TOOLS

Public Constructor

Public manifest. permission_group ()

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.