Share via


WindowId.FocusObserver Constructors

Definition

Overloads

WindowId.FocusObserver()

Construct a new observer.

WindowId.FocusObserver(IntPtr, JniHandleOwnership)

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

WindowId.FocusObserver()

Construct a new observer.

[Android.Runtime.Register(".ctor", "()V", "")]
public FocusObserver ();
Attributes

Remarks

Construct a new observer. This observer will be configured so that all of its callbacks are dispatched on the current calling thread.

Java documentation for android.view.WindowId.FocusObserver.WindowId$FocusObserver().

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

WindowId.FocusObserver(IntPtr, JniHandleOwnership)

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

protected FocusObserver (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.WindowId.FocusObserver : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.WindowId.FocusObserver

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