MBTargetResolution

Enumeration representing target resolutions for camera capture.

Use this enum to specify different target resolutions for capturing images or videos. Each enum case includes a corresponding Size object for compatibility with Android camera APIs.

Entries

Link copied to clipboard

QHD resolution (540x960 pixels).

Link copied to clipboard

720p HD resolution (720x1280 pixels).

Link copied to clipboard

1080p Full HD resolution (1080x1920 pixels).

Link copied to clipboard

4K UHD resolution (2160x3840 pixels).

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Size object representing the width and height of the target resolution.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.