Enums

Details

class Parlatype.Error(value)

Bases: GLib.Enum

Error codes for Parlatype in the PT_ERROR domain.

MISSING_PROPERTY = 0

The plugin doesn’t have a property.

NOT_WRITABLE = 1

The plugin’s property is not writable.

WRONG_VALUE = 2

The value is not valid for the property.

class Parlatype.ModeType(value)

Bases: GLib.Enum

Enum values indicating Parlatype.Player output mode.

PLAYBACK = 0

normal audible playback

ASR = 1

silent automatic speech recognition

class Parlatype.PrecisionType(value)

Bases: GLib.Enum

Enum values indicating desired precision of time strings.

SECOND = 0

Rounds to full seconds, e.g. 1:23 (1 minute, 23 seconds)

SECOND_10TH = 1

Round to 1/10 seconds, e.g. 1:23.4

SECOND_100TH = 2

Round to 1/100 seconds, e.g. 1:23.45

class Parlatype.StateType(value)

Bases: GLib.Enum

Enum values indicating Parlatype.Player’s current state.

STOPPED = 0

the player is stopped

PAUSED = 1

the player is paused

PLAYING = 2

the player is currently playing a stream