CameraCapturerConfiguration class Null safety

CameraCapturerConfiguration 的定义。

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

CameraCapturerConfiguration({CameraCaptureOutputPreference? preference, int? captureWidth, int? captureHeight, CameraDirection? cameraDirection})
Constructs a CameraCapturerConfiguration
CameraCapturerConfiguration.fromJson(Map<String, dynamic> json)
factory

Properties

cameraDirection CameraDirection?
摄像头方向。 详见 CameraDirection
@JsonKey(includeIfNull: false), read / write
captureHeight int?
本地采集的视频高度 (px)。如果你需要自定义本地采集的视频高度,请先将 preference 设为 Manual(3) ,再通过 captureHeight 设置采集的视频高度。
@JsonKey(includeIfNull: false), read / write
captureWidth int?
本地采集的视频宽度 (px)。如果你需要自定义本地采集的视频宽度,请先将 preference 设为 Manual(3) ,再通过 captureWidth 设置采集的视频宽度。
@JsonKey(includeIfNull: false), read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
preference CameraCaptureOutputPreference?
摄像头采集偏好。 详见 CameraCaptureOutputPreference
@JsonKey(includeIfNull: false), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited