C# Class KSUtil.StreamSupport

Class which contains supporting functions for converting streams from text to guids, and determining if specified streams are valid for playback/record.
Mostrar archivo Open project: angelaHillier/KSUtil Class Usage Examples

Private Methods

Method Description
ConvertStreamGuidToString ( System.Guid streamDataTypeId ) : string

Converts a DataTypeID to a public stream

ConvertStreamStringToGuid ( string streamName ) : System.Guid

Converts a string representing a stream name to a GUID (DataTypeID)

ConvertStreamsToGuids ( IEnumerable streamNames ) : HashSet

Converts a collection of stream strings to DataTypeIDs (Guids)

ConvertStreamsToPlaybackGuids ( IEnumerable streamNames ) : HashSet

Converts a collection of stream strings to DataTypeIDs (Guids) that can be played back to the Kinect sensor

CreateStreamCollection ( IEnumerable streamGuids, bool swapColor ) : KStudioEventStreamSelectorCollection

Converts a collection of stream GUIDs to a KStudioEventStreamSelectorCollection object that can be used for playback and record

VerifyStreamsForRecordAndPlayback ( IEnumerable streamGuids ) : void

Verifies that the combination of streams provided are valid for record and/or playback