Class CrossProfileApps
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
initializerIJVMBridgeBaseInitializer
Properties
ACTION_CAN_INTERACT_ACROSS_PROFILES_CHANGED
public static String ACTION_CAN_INTERACT_ACROSS_PROFILES_CHANGED { get; set; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
CanInteractAcrossProfiles()
public bool CanInteractAcrossProfiles()
Returns
CanRequestInteractAcrossProfiles()
public bool CanRequestInteractAcrossProfiles()
Returns
CreateRequestInteractAcrossProfilesIntent()
public Intent CreateRequestInteractAcrossProfilesIntent()
Returns
GetProfileSwitchingIconDrawable(UserHandle)
public Drawable GetProfileSwitchingIconDrawable(UserHandle arg0)
Parameters
arg0UserHandle
Returns
GetProfileSwitchingLabel(UserHandle)
public CharSequence GetProfileSwitchingLabel(UserHandle arg0)
Parameters
arg0UserHandle
Returns
GetTargetUserProfiles()
public List<UserHandle> GetTargetUserProfiles()
Returns
IsManagedProfile(UserHandle)
public bool IsManagedProfile(UserHandle arg0)
Parameters
arg0UserHandle
Returns
IsProfile(UserHandle)
public bool IsProfile(UserHandle arg0)
Parameters
arg0UserHandle
Returns
StartActivity(Intent, UserHandle, Activity)
public void StartActivity(Intent arg0, UserHandle arg1, Activity arg2)
Parameters
arg0Intentarg1UserHandlearg2Activity
StartActivity(Intent, UserHandle, Activity, Bundle)
public void StartActivity(Intent arg0, UserHandle arg1, Activity arg2, Bundle arg3)
Parameters
arg0Intentarg1UserHandlearg2Activityarg3Bundle
StartMainActivity(ComponentName, UserHandle)
public void StartMainActivity(ComponentName arg0, UserHandle arg1)
Parameters
arg0ComponentNamearg1UserHandle
StartMainActivity(ComponentName, UserHandle, Activity, Bundle)
public void StartMainActivity(ComponentName arg0, UserHandle arg1, Activity arg2, Bundle arg3)
Parameters
arg0ComponentNamearg1UserHandlearg2Activityarg3Bundle