Dela via


Manifest.Permission Class

Definition

[Android.Runtime.Register("android/Manifest$permission", DoNotGenerateAcw=true)]
public sealed class Manifest.Permission : Java.Lang.Object
[<Android.Runtime.Register("android/Manifest$permission", DoNotGenerateAcw=true)>]
type Manifest.Permission = class
    inherit Object
Inheritance
Manifest.Permission
Attributes

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

Manifest.Permission()

Fields

AcceptHandover
AccessBackgroundLocation
AccessBlobsAcrossUsers
AccessCheckinProperties

Allows read/write access to the "properties" table in the checkin database, to change values that get uploaded.

AccessCoarseLocation

Allows an app to access approximate location derived from network location sources such as cell towers and Wi-Fi.

AccessFineLocation

Allows an app to access precise location from location sources such as GPS, cell towers, and Wi-Fi.

AccessLocationExtraCommands

Allows an application to access extra location provider commands

AccessMediaLocation
AccessMockLocation

Allows an application to create mock location providers for testing

AccessNetworkState

Allows applications to access information about networks

AccessNotificationPolicy
AccessSurfaceFlinger

Allows an application to use SurfaceFlinger's low level features

AccessWifiState

Allows applications to access information about Wi-Fi networks

AccountManager

Allows applications to call into AccountAuthenticators.

ActivityRecognition
AddVoicemail

Allows an application to add voicemails into the system.

AnswerPhoneCalls
AuthenticateAccounts

Allows an application to act as an AccountAuthenticator for the AccountManager

BatteryStats

Allows an application to collect battery statistics

BindAccessibilityService

Must be required by an AccessibilityService, to ensure that only the system can bind to it.

BindAppwidget

Allows an application to tell the AppWidget service which application can access AppWidget's data.

BindAutofillService
BindCallRedirectionService
BindCarrierMessagingClientService
BindCarrierMessagingService
BindCarrierServices
BindChooserTargetService
BindCompanionDeviceService
BindConditionProviderService
BindControls
BindCredentialProviderService
BindDeviceAdmin

Must be required by device administration receiver, to ensure that only the system can interact with it.

BindDreamService
BindIncallService
BindInputMethod

Must be required by an InputMethodService, to ensure that only the system can bind to it.

BindMidiDeviceService
BindNfcService
BindNotificationListenerService

Must be required by an NotificationListenerService, to ensure that only the system can bind to it.

BindPrintService
BindQuickAccessWalletService
BindQuickSettingsTile
BindRemoteviews

Must be required by a RemoteViewsService, to ensure that only the system can bind to it.

BindScreeningService
BindTelecomConnectionService
BindTextService

Must be required by a TextService (e.g.

BindTvInput
BindTvInteractiveApp
BindVisualVoicemailService
BindVoiceInteraction
BindVpnService

Must be required by an VpnService, to ensure that only the system can bind to it.

BindVrListenerService
BindWallpaper

Must be required by a WallpaperService, to ensure that only the system can bind to it.

Bluetooth

Allows applications to connect to paired bluetooth devices

BluetoothAdmin

Allows applications to discover and pair bluetooth devices

BluetoothAdvertise
BluetoothConnect
BluetoothPrivileged
BluetoothScan
BodySensors
BodySensorsBackground
Brick

Required to be able to disable the device (very dangerous!).

BroadcastPackageRemoved

Allows an application to broadcast a notification that an application package has been removed.

BroadcastSms

Allows an application to broadcast an SMS receipt notification

BroadcastSticky

Allows an application to broadcast sticky intents.

BroadcastWapPush

Allows an application to broadcast a WAP PUSH receipt notification

CallCompanionApp
CallPhone

Allows an application to initiate a phone call without going through the Dialer user interface for the user to confirm the call being placed.

CallPrivileged

Allows an application to call any phone number, including emergency numbers, without going through the Dialer user interface for the user to confirm the call being placed.

Camera

Required to be able to access the camera device.

CaptureAudioOutput
CaptureSecureVideoOutput
CaptureVideoOutput
ChangeComponentEnabledState

Allows an application to change whether an application component (other than its own) is enabled or not.

ChangeConfiguration

Allows an application to modify the current configuration, such as locale.

ChangeNetworkState

Allows applications to change network connectivity state

ChangeWifiMulticastState

Allows applications to enter Wi-Fi Multicast mode

ChangeWifiState

Allows applications to change Wi-Fi connectivity state

ClearAppCache

Allows an application to clear the caches of all installed applications on the device.

ClearAppUserData

Allows an application to clear user data

ConfigureWifiDisplay
ControlLocationUpdates

Allows enabling/disabling location update notifications from the radio.

CredentialManagerQueryCandidateCredentials
CredentialManagerSetAllowedProviders
CredentialManagerSetOrigin
DeleteCacheFiles

Allows an application to delete cache files.

DeletePackages

Allows an application to delete packages.

DeliverCompanionMessages
DetectScreenCapture
DevicePower

Allows low-level access to power management

Diagnostic

Allows applications to RW to diagnostic resources.

DisableKeyguard

Allows applications to disable the keyguard

Dump

Allows an application to retrieve state dump information from system services.

EnforceUpdateOwnership
ExecuteAppAction
ExpandStatusBar

Allows an application to expand or collapse the status bar.

FactoryTest

Run as a manufacturer test application, running as the root user.

Flashlight

Allows access to the flashlight

ForceBack

Allows an application to force a BACK operation on whatever is the top activity.

ForegroundService
ForegroundServiceCamera
ForegroundServiceConnectedDevice
ForegroundServiceDataSync
ForegroundServiceHealth
ForegroundServiceLocation
ForegroundServiceMediaPlayback
ForegroundServiceMediaProjection
ForegroundServiceMicrophone
ForegroundServicePhoneCall
ForegroundServiceRemoteMessaging
ForegroundServiceSpecialUse
ForegroundServiceSystemExempted
GetAccounts

Allows access to the list of accounts in the Accounts Service

GetAccountsPrivileged
GetPackageSize

Allows an application to find out the space used by any package.

GetTasks
Obsolete.

Allows an application to get information about the currently or recently running tasks.

GetTopActivityInfo

Allows an application to retrieve private information about the current top activity, such as any assist context it can provide.

GlobalSearch

This permission can be used on content providers to allow the global search system to access their data.

HardwareTest

Allows access to hardware peripherals.

HideOverlayWindows
HighSamplingRateSensors
InjectEvents

Allows an application to inject user events (keys, touch, trackball) into the event stream and deliver them to ANY window.

InstallLocationProvider

Allows an application to install a location provider into the Location Manager

InstallPackages

Allows an application to install packages.

InstallShortcut
InstantAppForegroundService
InteractAcrossProfiles
InternalSystemWindow

Allows an application to open windows that are for use by parts of the system user interface.

Internet

Allows applications to open network sockets.

KillBackgroundProcesses

Allows an application to call KillBackgroundProcesses(String).

LaunchCaptureContentActivityForNote
LaunchMultiPaneSettingsDeepLink
LoaderUsageStats
LocationHardware

Allows an application to use location features in hardware, such as the geofencing api Protected by signature|system protection level

ManageAccounts

Allows an application to manage the list of accounts in the AccountManager

ManageAppTokens

Allows an application to manage (create, destroy, Z-order) application tokens in the window manager.

ManageDeviceLockState
ManageDevicePolicyAccessibility
ManageDevicePolicyAccountManagement
ManageDevicePolicyAcrossUsers
ManageDevicePolicyAcrossUsersFull
ManageDevicePolicyAcrossUsersSecurityCritical
ManageDevicePolicyAirplaneMode
ManageDevicePolicyAppRestrictions
ManageDevicePolicyAppsControl
ManageDevicePolicyAppUserData
ManageDevicePolicyAudioOutput
ManageDevicePolicyAutofill
ManageDevicePolicyBackupService
ManageDevicePolicyBluetooth
ManageDevicePolicyBugreport
ManageDevicePolicyCalls
ManageDevicePolicyCamera
ManageDevicePolicyCertificates
ManageDevicePolicyCommonCriteriaMode
ManageDevicePolicyDebuggingFeatures
ManageDevicePolicyDefaultSms
ManageDevicePolicyDeviceIdentifiers
ManageDevicePolicyDisplay
ManageDevicePolicyFactoryReset
ManageDevicePolicyFun
ManageDevicePolicyInputMethods
ManageDevicePolicyInstallUnknownSources
ManageDevicePolicyKeepUninstalledPackages
ManageDevicePolicyKeyguard
ManageDevicePolicyLocale
ManageDevicePolicyLocation
ManageDevicePolicyLock
ManageDevicePolicyLockCredentials
ManageDevicePolicyLockTask
ManageDevicePolicyMeteredData
ManageDevicePolicyMicrophone
ManageDevicePolicyMobileNetwork
ManageDevicePolicyModifyUsers
ManageDevicePolicyMte
ManageDevicePolicyNearbyCommunication
ManageDevicePolicyNetworkLogging
ManageDevicePolicyOrganizationIdentity
ManageDevicePolicyOverrideApn
ManageDevicePolicyPackageState
ManageDevicePolicyPhysicalMedia
ManageDevicePolicyPrinting
ManageDevicePolicyPrivateDns
ManageDevicePolicyProfileInteraction
ManageDevicePolicyProfiles
ManageDevicePolicyProxy
ManageDevicePolicyQuerySystemUpdates
ManageDevicePolicyResetPassword
ManageDevicePolicyRestrictPrivateDns
ManageDevicePolicyRunInBackground
ManageDevicePolicyRuntimePermissions
ManageDevicePolicySafeBoot
ManageDevicePolicyScreenCapture
ManageDevicePolicyScreenContent
ManageDevicePolicySecurityLogging
ManageDevicePolicySettings
ManageDevicePolicySms
ManageDevicePolicyStatusBar
ManageDevicePolicySupportMessage
ManageDevicePolicySuspendPersonalApps
ManageDevicePolicySystemApps
ManageDevicePolicySystemDialogs
ManageDevicePolicySystemUpdates
ManageDevicePolicyTime
ManageDevicePolicyUsbDataSignalling
ManageDevicePolicyUsbFileTransfer
ManageDevicePolicyUsers
ManageDevicePolicyVpn
ManageDevicePolicyWallpaper
ManageDevicePolicyWifi
ManageDevicePolicyWindows
ManageDevicePolicyWipeData
ManageDocuments
ManageExternalStorage
ManageMedia
ManageOngoingCalls
ManageOwnCalls
ManageWifiInterfaces
ManageWifiNetworkSelection
MasterClear
MediaContentControl
ModifyAudioSettings

Allows an application to modify global audio settings

ModifyPhoneState

Allows modification of the telephony state - power on, mmi, etc.

MountFormatFilesystems

Allows formatting file systems for removable storage.

MountUnmountFilesystems

Allows mounting and unmounting file systems for removable storage.

NearbyWifiDevices
Nfc

Allows applications to perform I/O operations over NFC

NfcPreferredPaymentInfo
NfcTransactionEvent
OverrideWifiConfig
PackageUsageStats
PersistentActivity
PostNotifications
ProcessOutgoingCalls

Allows an application to monitor, modify, or abort outgoing calls.

ProvideOwnAutofillSuggestions
ProvideRemoteCredentials
QueryAllPackages
ReadAssistantAppSearchData
ReadBasicPhoneState
ReadCalendar

Allows an application to read the user's calendar data.

ReadCallLog

Allows an application to read the user's call log.

ReadContacts

Allows an application to read the user's contacts data.

ReadExternalStorage

Allows an application to read from external storage.

ReadFrameBuffer

Allows an application to take screen shots and more generally get access to the frame buffer data

ReadHistoryBookmarks

Allows an application to read (but not write) the user's browsing history and bookmarks.

ReadHomeAppSearchData
ReadInputState
Obsolete.

Allows an application to retrieve the current state of keys and switches.

ReadLogs

Allows an application to read the low-level system log files.

ReadMediaAudio
ReadMediaImages
ReadMediaVideo
ReadMediaVisualUserSelected
ReadNearbyStreamingPolicy
ReadPhoneNumbers
ReadPhoneState

Allows read only access to phone state.

ReadPrecisePhoneState
ReadProfile

Allows an application to read the user's personal profile data.

ReadSms

Allows an application to read SMS messages.

ReadSocialStream
Obsolete.

Allows an application to read from the user's social stream.

ReadSyncSettings

Allows applications to read the sync settings

ReadSyncStats

Allows applications to read the sync stats

ReadUserDictionary

Allows an application to read the user dictionary.

ReadVoicemail
Reboot

Required to be able to reboot the device.

ReceiveBootCompleted

Allows an application to receive the ActionBootCompleted that is broadcast after the system finishes booting.

ReceiveMms

Allows an application to monitor incoming MMS messages, to record or perform processing on them.

ReceiveSms

Allows an application to monitor incoming SMS messages, to record or perform processing on them.

ReceiveWapPush

Allows an application to monitor incoming WAP push messages.

RecordAudio

Allows an application to record audio

ReorderTasks

Allows an application to change the Z-order of tasks

RequestCompanionProfileAppStreaming
RequestCompanionProfileAutomotiveProjection
RequestCompanionProfileComputer
RequestCompanionProfileGlasses
RequestCompanionProfileNearbyDeviceStreaming
RequestCompanionProfileWatch
RequestCompanionRunInBackground
RequestCompanionSelfManaged
RequestCompanionStartForegroundServicesFromBackground
RequestCompanionUseDataInBackground
RequestDeletePackages
RequestIgnoreBatteryOptimizations
RequestInstallPackages
RequestObserveCompanionDevicePresence
RequestPasswordComplexity
RestartPackages
RunUserInitiatedJobs
ScheduleExactAlarm
SendRespondViaMessage

Allows an application (Phone) to send a request to other applications to handle the respond-via-message action during incoming calls.

SendSms

Allows an application to send SMS messages.

SetActivityWatcher

Allows an application to watch and control how activities are started globally in the system.

SetAlarm

Allows an application to broadcast an Intent to set an alarm for the user.

SetAlwaysFinish

Allows an application to control whether activities are immediately finished when put in the background.

SetAnimationScale

Modify the global animation scaling factor.

SetDebugApp

Configure an application for debugging.

SetOrientation

Allows low-level access to setting the orientation (actually rotation) of the screen.

SetPointerSpeed

Allows low-level access to setting the pointer speed.

SetPreferredApplications
SetProcessLimit

Allows an application to set the maximum number of (not needed) application processes that can be running.

SetTime

Allows applications to set the system time

SetTimeZone

Allows applications to set the system time zone

SetWallpaper

Allows applications to set the wallpaper

SetWallpaperHints

Allows applications to set the wallpaper hints

SignalPersistentProcesses

Allow an application to request that a signal be sent to all persistent processes

SmsFinancialTransactions
StartForegroundServicesFromBackground
StartViewAppFeatures
StartViewPermissionUsage
StatusBar

Allows an application to open, close, or disable the status bar and its icons.

SubscribedFeedsRead

Allows an application to allow access the subscribed feeds ContentProvider.

SubscribedFeedsWrite
SubscribeToKeyguardLockedState
SystemAlertWindow

Allows an application to open windows using the type SystemAlert, shown on top of all other applications.

TransmitIr
TurnScreenOn
UninstallShortcut
UpdateDeviceStats

Allows an application to update device statistics.

UpdatePackagesWithoutUserAction
UseBiometric
UseCredentials

Allows an application to request authtokens from the AccountManager

UseExactAlarm
UseFingerprint
UseFullScreenIntent
UseIccAuthWithDeviceIdentifier
UseSip

Allows an application to use SIP service

UwbRanging
Vibrate

Allows access to the vibrator

WakeLock

Allows using PowerManager WakeLocks to keep processor from sleeping or screen from dimming

WriteApnSettings

Allows applications to write the apn settings

WriteCalendar

Allows an application to write (but not read) the user's calendar data.

WriteCallLog

Allows an application to write (but not read) the user's contacts data.

WriteContacts

Allows an application to write (but not read) the user's contacts data.

WriteExternalStorage

Allows an application to write to external storage.

WriteGservices

Allows an application to modify the Google service map.

WriteHistoryBookmarks

Allows an application to write (but not read) the user's browsing history and bookmarks.

WriteProfile

Allows an application to write (but not read) the user's personal profile data.

WriteSecureSettings

Allows an application to read or write the secure system settings.

WriteSettings

Allows an application to read or write the system settings.

WriteSms

Allows an application to write SMS messages.

WriteSocialStream
Obsolete.

Allows an application to write (but not read) the user's social stream data.

WriteSyncSettings

Allows applications to write the sync settings

WriteUserDictionary

Allows an application to write to the user dictionary.

WriteVoicemail

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
PeerReference (Inherited from Object)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)

Methods

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

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

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

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

(Inherited from Object)
NotifyAll()

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

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to