Skip to main content
Table of Contents

TTMSFNCWXCustomCamera.ApplyConstraints Method

Applies a set of media capture constraints to the active stream.

API unit family: TMSFNCWXCamera Declaring type: TTMSFNCWXCustomCamera

Syntax

FMX.TMSFNCWXCamera.hppPascalC++
procedure ApplyConstraints(AObject: TJSONObject);
void __fastcall ApplyConstraints(System::Json::TJSONObject* AObject);

Parameters

Name Description
AObject A JSON object describing the capture constraints to apply, following the media-track constraints structure expected by the camera page.