feat(android): add onControlsVisiblityChange (#3925)

* Adding onControlsVisiblityChange for Android
This commit is contained in:
Ash Mish
2024-06-22 02:15:21 -07:00
committed by GitHub
parent 104ee703ba
commit c2ce372bcf
6 changed files with 56 additions and 0 deletions

View File

@@ -121,6 +121,26 @@ Example:
}
```
### `onControlsVisibilityChange`
<PlatformsList types={['Android']} />
Callback function that is called when the controls are hidden or shown. Not possible on iOS.
Payload:
| Property | Type | Description |
| ----------- | ------- | ---------------------------------------------- |
| isVisible | boolean | Boolean indicating whether controls are visible |
Example:
```javascript
{
isVisible: true;
}
```
### `onEnd`
<PlatformsList types={['All']} />