Table of Contents

Class PermissionInfo

Namespace
Android.Content.Pm
Assembly
MASES.Netdroid.dll
public class PermissionInfo : PackageItemInfo, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
PermissionInfo
Implements
Inherited Members
Extension Methods

Constructors

PermissionInfo()

[Obsolete("Deprecated in JVM")]
public PermissionInfo()

PermissionInfo(PermissionInfo)

[Obsolete("Deprecated in JVM")]
public PermissionInfo(PermissionInfo arg0)

Parameters

arg0 PermissionInfo

PermissionInfo

PermissionInfo(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public PermissionInfo(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

CREATOR

public static Parcelable.Creator CREATOR { get; set; }

Property Value

Parcelable.Creator

FLAG_COSTS_MONEY

public static int FLAG_COSTS_MONEY { get; set; }

Property Value

int

FLAG_HARD_RESTRICTED

public static int FLAG_HARD_RESTRICTED { get; set; }

Property Value

int

FLAG_IMMUTABLY_RESTRICTED

public static int FLAG_IMMUTABLY_RESTRICTED { get; set; }

Property Value

int

FLAG_INSTALLED

public static int FLAG_INSTALLED { get; set; }

Property Value

int

FLAG_SOFT_RESTRICTED

public static int FLAG_SOFT_RESTRICTED { get; set; }

Property Value

int

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

PROTECTION_DANGEROUS

public static int PROTECTION_DANGEROUS { get; set; }

Property Value

int

PROTECTION_FLAG_APPOP

public static int PROTECTION_FLAG_APPOP { get; set; }

Property Value

int

PROTECTION_FLAG_DEVELOPMENT

public static int PROTECTION_FLAG_DEVELOPMENT { get; set; }

Property Value

int

PROTECTION_FLAG_INSTALLER

public static int PROTECTION_FLAG_INSTALLER { get; set; }

Property Value

int

PROTECTION_FLAG_INSTANT

public static int PROTECTION_FLAG_INSTANT { get; set; }

Property Value

int

PROTECTION_FLAG_PRE23

public static int PROTECTION_FLAG_PRE23 { get; set; }

Property Value

int

PROTECTION_FLAG_PREINSTALLED

public static int PROTECTION_FLAG_PREINSTALLED { get; set; }

Property Value

int

PROTECTION_FLAG_PRIVILEGED

public static int PROTECTION_FLAG_PRIVILEGED { get; set; }

Property Value

int

PROTECTION_FLAG_RUNTIME_ONLY

public static int PROTECTION_FLAG_RUNTIME_ONLY { get; set; }

Property Value

int

PROTECTION_FLAG_SETUP

public static int PROTECTION_FLAG_SETUP { get; set; }

Property Value

int

PROTECTION_FLAG_SYSTEM

[Obsolete("Deprecated in JVM")]
public static int PROTECTION_FLAG_SYSTEM { get; set; }

Property Value

int

PROTECTION_FLAG_VERIFIER

public static int PROTECTION_FLAG_VERIFIER { get; set; }

Property Value

int

PROTECTION_INTERNAL

public static int PROTECTION_INTERNAL { get; set; }

Property Value

int

PROTECTION_MASK_BASE

[Obsolete("Deprecated in JVM")]
public static int PROTECTION_MASK_BASE { get; set; }

Property Value

int

PROTECTION_MASK_FLAGS

[Obsolete("Deprecated in JVM")]
public static int PROTECTION_MASK_FLAGS { get; set; }

Property Value

int

PROTECTION_NORMAL

public static int PROTECTION_NORMAL { get; set; }

Property Value

int

PROTECTION_SIGNATURE

public static int PROTECTION_SIGNATURE { get; set; }

Property Value

int

PROTECTION_SIGNATURE_OR_SYSTEM

[Obsolete("Deprecated in JVM")]
public static int PROTECTION_SIGNATURE_OR_SYSTEM { get; set; }

Property Value

int

descriptionRes

public int descriptionRes { get; set; }

Property Value

int

flags

public int flags { get; set; }

Property Value

int

group

public String group { get; set; }

Property Value

String

nonLocalizedDescription

public CharSequence nonLocalizedDescription { get; set; }

Property Value

CharSequence

protectionLevel

[Obsolete("Deprecated in JVM")]
public int protectionLevel { get; set; }

Property Value

int

Methods

CreatePoolableInstance()

HPA initializer for PermissionInfo()

public static PermissionInfo CreatePoolableInstance()

Returns

PermissionInfo

CreatePoolableInstance(PermissionInfo)

HPA initializer for PermissionInfo(Android.Content.Pm.PermissionInfo arg0)

public static PermissionInfo CreatePoolableInstance(PermissionInfo arg0)

Parameters

arg0 PermissionInfo

Returns

PermissionInfo

DescribeContents()

public int DescribeContents()

Returns

int

int

GetProtection()

public int GetProtection()

Returns

int

int

GetProtectionFlags()

public int GetProtectionFlags()

Returns

int

int

LoadDescription(PackageManager)

public CharSequence LoadDescription(PackageManager arg0)

Parameters

arg0 PackageManager

PackageManager

Returns

CharSequence

CharSequence

Operators

implicit operator Parcelable(PermissionInfo)

Converter from PermissionInfo to Parcelable

public static implicit operator Parcelable(PermissionInfo t)

Parameters

t PermissionInfo

Returns

Parcelable