PointerIcon.GetSystemIcon(Context, PointerIconType) Method

Definition

Gets a system pointer icon for the given type.

[Android.Runtime.Register("getSystemIcon", "(Landroid/content/Context;I)Landroid/view/PointerIcon;", "", ApiSince=24)]
public static Android.Views.PointerIcon GetSystemIcon (Android.Content.Context context, Android.Views.PointerIconType type);
[<Android.Runtime.Register("getSystemIcon", "(Landroid/content/Context;I)Landroid/view/PointerIcon;", "", ApiSince=24)>]
static member GetSystemIcon : Android.Content.Context * Android.Views.PointerIconType -> Android.Views.PointerIcon

Parameters

context
Context

The context.

type
PointerIconType

The pointer icon type.

Returns

The pointer icon.

Attributes

Remarks

Gets a system pointer icon for the given type. If typeis not recognized, returns the default pointer icon.

Java documentation for android.view.PointerIcon.getSystemIcon(android.content.Context, int).

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