Share via


PerceptionDepthFrameSource.TryGetDepthCorrelatedCameraIntrinsicsAsync Method

Definition

Attempts to get the intrinsic properties of the depth camera that is correlated with this depth source.

public:
 virtual IAsyncOperation<PerceptionDepthCorrelatedCameraIntrinsics ^> ^ TryGetDepthCorrelatedCameraIntrinsicsAsync(PerceptionDepthFrameSource ^ target) = TryGetDepthCorrelatedCameraIntrinsicsAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<PerceptionDepthCorrelatedCameraIntrinsics> TryGetDepthCorrelatedCameraIntrinsicsAsync(PerceptionDepthFrameSource const& target);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [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")]
IAsyncOperation<PerceptionDepthCorrelatedCameraIntrinsics> TryGetDepthCorrelatedCameraIntrinsicsAsync(PerceptionDepthFrameSource const& target);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<PerceptionDepthCorrelatedCameraIntrinsics> TryGetDepthCorrelatedCameraIntrinsicsAsync(PerceptionDepthFrameSource target);
[Windows.Foundation.Metadata.RemoteAsync]
[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 IAsyncOperation<PerceptionDepthCorrelatedCameraIntrinsics> TryGetDepthCorrelatedCameraIntrinsicsAsync(PerceptionDepthFrameSource target);
function tryGetDepthCorrelatedCameraIntrinsicsAsync(target)
Public Function TryGetDepthCorrelatedCameraIntrinsicsAsync (target As PerceptionDepthFrameSource) As IAsyncOperation(Of PerceptionDepthCorrelatedCameraIntrinsics)

Parameters

target
PerceptionDepthFrameSource

The depth frame source to try to get intrinsic properties of.

Returns

If the attempt is successful, this returns a read-only collection of PerceptionDepthCorrelatedCameraIntrinsics objects specifying the intrinsic properties of the camera used by the correlated depth frame source. Otherwise, this returns null.

Attributes

Applies to