ISpeechBaseStream constructor

ISpeechBaseStream(
  1. VTablePointer ptr
)

Creates a new instance of ISpeechBaseStream from a VTablePointer.

This constructor requires a valid pointer to the ISpeechBaseStream interface. The ptr must not be nullptr; otherwise, an assertion error is thrown.

Implementation

ISpeechBaseStream(super.ptr)
  : _vtable = ptr.value.cast<ISpeechBaseStreamVtbl>().ref;