Condividi tramite


PerceptionDepthFrameSource.CanControlIndependentlyFrom(String) Metodo

Definizione

Questo metodo restituisce un valore booleano che indica se l'origine frame di profondità può essere controllata separatamente da un'altra origine frame.

public:
 virtual bool CanControlIndependentlyFrom(Platform::String ^ targetId) = CanControlIndependentlyFrom;
bool CanControlIndependentlyFrom(winrt::hstring const& targetId);
/// [Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource 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("PerceptionDepthFrameSource 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

Parametri

targetId
String

Platform::String

winrt::hstring

Stringa che rappresenta l'ID univoco dell'altra origine frame.

Restituisce

Boolean

bool

True se le due origini possono essere controllate in modo indipendente tra loro; in caso contrario, false.

Attributi

Si applica a