CloudMediaProvider.CloudMediaSurfaceController.OnSurfaceChanged Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.
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.