Added in API level 24
Window.OnRestrictedCaptionAreaChangedListener
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
Added in API level 24
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. |