Table of Contents

Class CrossProfileApps

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

Constructors

CrossProfileApps(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 CrossProfileApps(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

ACTION_CAN_INTERACT_ACROSS_PROFILES_CHANGED

public static String ACTION_CAN_INTERACT_ACROSS_PROFILES_CHANGED { get; set; }

Property Value

String

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

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

Methods

CanInteractAcrossProfiles()

public bool CanInteractAcrossProfiles()

Returns

bool

bool

CanRequestInteractAcrossProfiles()

public bool CanRequestInteractAcrossProfiles()

Returns

bool

bool

CreateRequestInteractAcrossProfilesIntent()

public Intent CreateRequestInteractAcrossProfilesIntent()

Returns

Intent

Intent

GetProfileSwitchingIconDrawable(UserHandle)

public Drawable GetProfileSwitchingIconDrawable(UserHandle arg0)

Parameters

arg0 UserHandle

UserHandle

Returns

Drawable

Drawable

GetProfileSwitchingLabel(UserHandle)

public CharSequence GetProfileSwitchingLabel(UserHandle arg0)

Parameters

arg0 UserHandle

UserHandle

Returns

CharSequence

CharSequence

GetTargetUserProfiles()

public List<UserHandle> GetTargetUserProfiles()

Returns

List<UserHandle>

List

IsManagedProfile(UserHandle)

public bool IsManagedProfile(UserHandle arg0)

Parameters

arg0 UserHandle

UserHandle

Returns

bool

bool

IsProfile(UserHandle)

public bool IsProfile(UserHandle arg0)

Parameters

arg0 UserHandle

UserHandle

Returns

bool

bool

StartActivity(Intent, UserHandle, Activity)

public void StartActivity(Intent arg0, UserHandle arg1, Activity arg2)

Parameters

arg0 Intent

Intent

arg1 UserHandle

UserHandle

arg2 Activity

Activity

StartActivity(Intent, UserHandle, Activity, Bundle)

public void StartActivity(Intent arg0, UserHandle arg1, Activity arg2, Bundle arg3)

Parameters

arg0 Intent

Intent

arg1 UserHandle

UserHandle

arg2 Activity

Activity

arg3 Bundle

Bundle

StartMainActivity(ComponentName, UserHandle)

public void StartMainActivity(ComponentName arg0, UserHandle arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 UserHandle

UserHandle

StartMainActivity(ComponentName, UserHandle, Activity, Bundle)

public void StartMainActivity(ComponentName arg0, UserHandle arg1, Activity arg2, Bundle arg3)

Parameters

arg0 ComponentName

ComponentName

arg1 UserHandle

UserHandle

arg2 Activity

Activity

arg3 Bundle

Bundle