Window.SetRestrictedCaptionAreaListener Method

Definition

Set a callback for changes of area where caption will draw its content.

[Android.Runtime.Register("setRestrictedCaptionAreaListener", "(Landroid/view/Window$OnRestrictedCaptionAreaChangedListener;)V", "", ApiSince=24)]
public void SetRestrictedCaptionAreaListener (Android.Views.Window.IOnRestrictedCaptionAreaChangedListener? listener);
[<Android.Runtime.Register("setRestrictedCaptionAreaListener", "(Landroid/view/Window$OnRestrictedCaptionAreaChangedListener;)V", "", ApiSince=24)>]
member this.SetRestrictedCaptionAreaListener : Android.Views.Window.IOnRestrictedCaptionAreaChangedListener -> unit

Parameters

listener
Window.IOnRestrictedCaptionAreaChangedListener

Callback that will be called when the area changes.

Attributes

Remarks

Java documentation for android.view.Window.setRestrictedCaptionAreaListener(android.view.OnRestrictedCaptionAreaChangedListener).

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