Method

SpeechProviderStreamReaderget_event

since: 1.0

Declaration [src]

gboolean
speech_provider_stream_reader_get_event (
  SpeechProviderStreamReader* self,
  SpeechProviderEventType* event_type,
  guint32* range_start,
  guint32* range_end,
  char** mark_name
)

Description [src]

Retrieves event data.

Available since: 1.0

Parameters

event_type

Type: SpeechProviderEventType

Type of event.

The argument will be set by the function.
The instance takes ownership of the data, and is responsible for freeing it.
range_start

Type: guint32*

Text range start.

The argument will be set by the function.
range_end

Type: guint32*

Text range end.

The argument will be set by the function.
mark_name

Type: char**

Mark name.

The argument will be set by the function.
The instance takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE if the call succeeds.