Share via


PerceptionInfraredFrameSource.CanControlIndependentlyFrom(String) Method

Definition

Retrieves a boolean value indicating whether or not the infrared frame source can be controlled separately from another frame source.

public:
 virtual bool CanControlIndependentlyFrom(Platform::String ^ targetId) = CanControlIndependentlyFrom;
bool CanControlIndependentlyFrom(winrt::hstring const& targetId);
/// [Windows.Foundation.Metadata.Deprecated("PerceptionInfraredFrameSource may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
bool CanControlIndependentlyFrom(winrt::hstring const& targetId);
public bool CanControlIndependentlyFrom(string targetId);
[Windows.Foundation.Metadata.Deprecated("PerceptionInfraredFrameSource may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public bool CanControlIndependentlyFrom(string targetId);
function canControlIndependentlyFrom(targetId)
Public Function CanControlIndependentlyFrom (targetId As String) As Boolean

Parameters

targetId
String

Platform::String

winrt::hstring

A string representing the unique ID of the other frame source.

Returns

Boolean

bool

True if the two sources can be controlled independently of one another, otherwise false.

Attributes

Applies to