StateChange#

class StateChange#

These are the different state changes an element goes through. NULL wzxhzdk:0 PLAYING is called an upwards state change and PLAYING wzxhzdk:1 NULL a downwards state change.

Methods#

class StateChange
get_name() str#

Gets a string representing the given state transition.

Added in version 1.14.

Fields#

class StateChange
NULL_TO_NULL#

The type of the None singleton.

NULL_TO_READY#

The type of the None singleton.

PAUSED_TO_PAUSED#

The type of the None singleton.

PAUSED_TO_PLAYING#

The type of the None singleton.

PAUSED_TO_READY#

The type of the None singleton.

PLAYING_TO_PAUSED#

The type of the None singleton.

PLAYING_TO_PLAYING#

The type of the None singleton.

READY_TO_NULL#

The type of the None singleton.

READY_TO_PAUSED#

The type of the None singleton.

READY_TO_READY#

The type of the None singleton.