Language

RuntimePermission Constructors

Definition

Overloads

Name Description
RuntimePermission(String)

Creates a legacy permission object. Android ignores name and stores an empty permission name.

RuntimePermission(String, String)

Creates a legacy permission object. Android ignores name and actions and stores an empty permission name.

RuntimePermission(String)

Creates a legacy permission object. Android ignores name and stores an empty permission name.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public RuntimePermission(string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Lang.RuntimePermission : string -> Java.Lang.RuntimePermission

Parameters

name
String

The name used to identify the requested item.

Attributes

Remarks

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.

Applies to

RuntimePermission(String, String)

Creates a legacy permission object. Android ignores name and actions and stores an empty permission name.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public RuntimePermission(string? name, string? actions);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Java.Lang.RuntimePermission : string * string -> Java.Lang.RuntimePermission

Parameters

name
String

The name used to identify the requested item.

actions
String

The action names governed by this permission.

Attributes

Remarks

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.

Applies to