Added in API level 24
OnRestrictedCaptionAreaChangedListener
interface OnRestrictedCaptionAreaChangedListener
android.view.Window.OnRestrictedCaptionAreaChangedListener |
Callback for clients that want to be aware of where caption draws content.
Summary
Public methods | |
---|---|
abstract Unit |
onRestrictedCaptionAreaChanged(rect: Rect!) Called when the area where caption draws content changes. |
Public methods
onRestrictedCaptionAreaChanged
Added in API level 24
abstract fun onRestrictedCaptionAreaChanged(rect: Rect!): Unit
Called when the area where caption draws content changes.
Parameters | |
---|---|
rect |
Rect!: The area where caption content is positioned, relative to the top view. |