SurfaceControl.Builder.SetBufferSize(Int32, Int32) 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.
Sets the default buffer width and height for surfaces built by this builder.
[Android.Runtime.Register("setBufferSize", "(II)Landroid/view/SurfaceControl$Builder;", "GetSetBufferSize_IIHandler", ApiSince=29)]
public virtual Android.Views.SurfaceControl.Builder SetBufferSize(int width, int height);
[<Android.Runtime.Register("setBufferSize", "(II)Landroid/view/SurfaceControl$Builder;", "GetSetBufferSize_IIHandler", ApiSince=29)>]
abstract member SetBufferSize : int * int -> Android.Views.SurfaceControl.Builder
override this.SetBufferSize : int * int -> Android.Views.SurfaceControl.Builder
Parameters
- width
- Int32
The System.Int32 value used for width.
- height
- Int32
The System.Int32 value used for height.
Returns
The result of the set buffer size operation.
- Attributes
Remarks
For details, see the Android reference documentation for android.view.SurfaceControl.Builder.setBufferSize.
Java documentation for android.view.SurfaceControl.Builder.setBufferSize.
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.