MultiSourceMediaFrameReference.TryGetFrameReferenceBySourceId(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.