Dela via


MultiSourceMediaFrameReference.TryGetFrameReferenceBySourceId(String) Method

Definition

Attempts to get a time-correlated MediaFrameReference for the specified media frame source.

public:
 virtual MediaFrameReference ^ TryGetFrameReferenceBySourceId(Platform::String ^ sourceId) = TryGetFrameReferenceBySourceId;
MediaFrameReference TryGetFrameReferenceBySourceId(winrt::hstring const& sourceId);
public MediaFrameReference TryGetFrameReferenceBySourceId(string sourceId);
function tryGetFrameReferenceBySourceId(sourceId)
Public Function TryGetFrameReferenceBySourceId (sourceId As String) As MediaFrameReference

Parameters

sourceId
String

Platform::String

winrt::hstring

The Id property of the MediaFrameSourceInfo object representing the media frame source from which a frame reference should be retreived.

Returns

A MediaFrameReference representing a time-correlated media frame.

Applies to