Język

TaskLocation Constructors

Definition

Overloads

Name Description
TaskLocation(Int32, Rect)

Creates a TaskLocation with the given display ID and bounds.

TaskLocation(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

TaskLocation(Int32, Rect)

Creates a TaskLocation with the given display ID and bounds.

[Android.Runtime.Register(".ctor", "(ILandroid/graphics/Rect;)V", "", ApiSince=37)]
public TaskLocation(int displayId, Android.Graphics.Rect bounds);
[<Android.Runtime.Register(".ctor", "(ILandroid/graphics/Rect;)V", "", ApiSince=37)>]
new Android.App.TaskLocation : int * Android.Graphics.Rect -> Android.App.TaskLocation

Parameters

displayId
Int32
bounds
Rect
Attributes

Remarks

Creates a TaskLocation with the given display ID and bounds.

Android reference for android.app.TaskLocation.TaskLocation.

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

TaskLocation(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

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

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

The runtime calls this constructor to create a managed representation of an existing Java object.

Applies to