public static interface Window.OnRestrictedCaptionAreaChangedListener

android.view.Window.OnRestrictedCaptionAreaChangedListener



Callback for clients that want to be aware of where caption draws content.

Summary

Public methods

abstract void onRestrictedCaptionAreaChanged(Rect rect)

Called when the area where caption draws content changes.

Public methods

onRestrictedCaptionAreaChanged

public abstract void onRestrictedCaptionAreaChanged (Rect rect)

Called when the area where caption draws content changes.

Parameters
rect Rect: The area where caption content is positioned, relative to the top view.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-02-10 UTC.