Show: Delphi C++
Display Preferences

FMX.Media.TCameraComponent.Kind

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Kind: TCameraKind read FCameraKind write SetCameraKind default TCameraKind.Default;

C++

__property TCameraKind Kind = {read=FCameraKind, write=SetCameraKind, default=0};

Properties

Type Visibility Source Unit Parent
property published
FMX.Media.pas
FMX.Media.hpp
FMX.Media TCameraComponent

Description

Selects the kind of camera device: default, front, or back camera.

The Kind property can take one of three values enumerated by TCameraKind: Default, FrontCamera, and BackCamera.

For example, to select the back camera of the CameraComponent1 TCameraComponent you can use the following line:

Delphi:

CameraComponent1.Kind := TCameraKind.BackCamera;

C++:

CameraComponent1->Kind = TCameraKind::BackCamera;

See Also

Code Samples

Personal tools
In Other Languages
Previous Versions
Assistance