Sdílet prostřednictvím


LocalActivityManager Constructors

Definition

Overloads

LocalActivityManager(Activity, Boolean)
Obsolete.

Create a new LocalActivityManager for holding activities running within the given <var>parent</var>.

LocalActivityManager(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

LocalActivityManager(Activity, Boolean)

Caution

deprecated

Create a new LocalActivityManager for holding activities running within the given <var>parent</var>.

[Android.Runtime.Register(".ctor", "(Landroid/app/Activity;Z)V", "")]
[System.Obsolete("deprecated")]
public LocalActivityManager (Android.App.Activity? parent, bool singleMode);
[<Android.Runtime.Register(".ctor", "(Landroid/app/Activity;Z)V", "")>]
[<System.Obsolete("deprecated")>]
new Android.App.LocalActivityManager : Android.App.Activity * bool -> Android.App.LocalActivityManager

Parameters

parent
Activity

the host of the embedded activities

singleMode
Boolean

True if the LocalActivityManger should keep a maximum of one activity resumed

Attributes

Remarks

Create a new LocalActivityManager for holding activities running within the given <var>parent</var>.

Java documentation for android.app.LocalActivityManager.LocalActivityManager(android.app.Activity, boolean).

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

LocalActivityManager(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected LocalActivityManager (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.LocalActivityManager : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.LocalActivityManager

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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