Skip to main content
Table of Contents

TTMSFNCWXCameraDevices.GetDeviceByName Method

Finds the camera device whose name matches the supplied value.

API unit family: TMSFNCWXCamera Declaring type: TTMSFNCWXCameraDevices

Syntax

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

Parameters

Name Description
Name The device name to search for.

Returns

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