←Select platform

Read Method

Summary

Reads one element from the stream blocks it until the element is read, or the operation aborted, or complete is triggered.

Syntax

C#
C++/CLI
public bool Read( 
   out T v, 
   CancellationToken cancellationToken 
) 
public:  
   bool Read( 
      T^ %v, 
      CancellationToken^ cancellationToken 
   ) 

Parameters

v

Element read.

cancellationToken

Option to cancel and abort the blocking read operation.

Return Value

true if the value was read successfully; otherwise, false.

Requirements

Target Platforms

See Also

IAudioStream<T> Class

IAudioStream<T> Members

Leadtools.SpeechRecognition.Multimedia Namespace

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.SpeechRecognition Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.