Window.IOnRestrictedCaptionAreaChangedListener.OnRestrictedCaptionAreaChanged Method

Definition

Called when the area where caption draws content changes.

[Android.Runtime.Register("onRestrictedCaptionAreaChanged", "(Landroid/graphics/Rect;)V", "GetOnRestrictedCaptionAreaChanged_Landroid_graphics_Rect_Handler:Android.Views.Window/IOnRestrictedCaptionAreaChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
public void OnRestrictedCaptionAreaChanged (Android.Graphics.Rect? rect);
[<Android.Runtime.Register("onRestrictedCaptionAreaChanged", "(Landroid/graphics/Rect;)V", "GetOnRestrictedCaptionAreaChanged_Landroid_graphics_Rect_Handler:Android.Views.Window/IOnRestrictedCaptionAreaChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member OnRestrictedCaptionAreaChanged : Android.Graphics.Rect -> unit

Parameters

rect
Rect

The area where caption content is positioned, relative to the top view.

Attributes

Remarks

Called when the area where caption draws content changes.

Java documentation for android.view.Window.OnRestrictedCaptionAreaChangedListener.onRestrictedCaptionAreaChanged(android.graphics.Rect).

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