Share via


CloudMediaProvider.CloudMediaSurfaceController.OnSurfaceChanged Method

Definition

Indicates structural changes (format or size) in the Surface for rendering.

[Android.Runtime.Register("onSurfaceChanged", "(IIII)V", "GetOnSurfaceChanged_IIIIHandler", ApiSince=33)]
public abstract void OnSurfaceChanged (int surfaceId, int format, int width, int height);
[<Android.Runtime.Register("onSurfaceChanged", "(IIII)V", "GetOnSurfaceChanged_IIIIHandler", ApiSince=33)>]
abstract member OnSurfaceChanged : int * int * int * int -> unit

Parameters

surfaceId
Int32

id which uniquely identifies the Surface for rendering

format
Int32

the new PixelFormat of the surface

width
Int32

the new width of the Surface

height
Int32

the new height of the Surface

Attributes

Remarks

Indicates structural changes (format or size) in the Surface for rendering.

This method is always called at least once, after #onSurfaceCreated.

Java documentation for android.provider.CloudMediaProvider.CloudMediaSurfaceController.onSurfaceChanged(int, int, int, int).

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