Language

InCallService.VideoCall.Callback.OnPeerDimensionsChanged(Int32, Int32) Method

Definition

Handles a change to the video dimensions from the peer device.

[Android.Runtime.Register("onPeerDimensionsChanged", "(II)V", "GetOnPeerDimensionsChanged_IIHandler", ApiSince=23)]
public abstract void OnPeerDimensionsChanged(int width, int height);
[<Android.Runtime.Register("onPeerDimensionsChanged", "(II)V", "GetOnPeerDimensionsChanged_IIHandler", ApiSince=23)>]
abstract member OnPeerDimensionsChanged : int * int -> unit

Parameters

width
Int32

The updated peer video width.

height
Int32

The updated peer video height.

Attributes

Remarks

Handles a change to the video dimensions from the peer device. This could happen if, for example, the peer changes orientation of their device, or switches cameras.

Callback originates from Connection.VideoProvider.changePeerDimensions(int,int).

Android reference for android.telecom.InCallService.VideoCall.Callback.onPeerDimensionsChanged.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to