Skip to main content
Table of Contents

TTMSFNCWXCameraDevices.GetDeviceById Method

Finds the camera device whose identifier matches the supplied value.

API unit family: TMSFNCWXCamera Declaring type: TTMSFNCWXCameraDevices

Syntax

FMX.TMSFNCWXCamera.hppPascalC++
function GetDeviceById(Id: string): TTMSFNCWXCameraDevice;
TTMSFNCWXCameraDevice* __fastcall GetDeviceById(System::UnicodeString Id);

Parameters

Name Description
Id The device identifier to search for.

Returns

The matching device, or nil when no device has the given identifier.