> For a complete documentation index, fetch https://docs.voximplant.ai/llms.txt

# OnSizeChangedCallback (interface)

[VideoStream](/api-reference/androidsdk3/android/sdk/calls/videostream)

Callback invoked when the video frame size changes.

## Methods

### onSizeChanged

`fun onSizeChanged(width: Int, height: Int, rotation: `[`Rotation`](/api-reference/androidsdk3/android/sdk/calls/rotation)`): Unit`

Triggered when the video frame size changes.

**Parameters**

| Parameter  | Type                                                                | Requirement | Description          |
| ---------- | ------------------------------------------------------------------- | ----------- | -------------------- |
| `width`    | `Int`                                                               |             | Video frame width    |
| `height`   | `Int`                                                               |             | Video frame height   |
| `rotation` | [`Rotation`](/api-reference/androidsdk3/android/sdk/calls/rotation) |             | Video frame rotation |

**Returns:** Unit