目录

ReadStateCode (Reading Status)

Enumeration class of reading statuses of the TextReader.

Since: 5.0.0(12)

Modules to Import

import { ReadStateCode } from '@kit.SpeechKit';

ReadStateCode

Reading status enumeration class.

Atomic service API: This API can be used in atomic services since version 5.0.3(15).

System capability: SystemCapability.AI.Component.TextReader

Model restriction: This API can be used only in the stage model.

Since: 5.0.0(12)

Name Value Description
PLAYING 1 Playing.
PAUSED 2 Paused.
COMPLETED 3 Playback complete.
WAITING 4 Not played/Stopped.
NOT_IN_READ_LIST 5 Not in the reading list.