目录

ReadStateCode (Reading Status)

Enumeration class of reading statuses of the TextReader.

Start version: 5.0.0(12)

Module Import

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

ReadStateCode

Reading status enumeration class.

System capability: SystemCapability.AI.Component.TextReader

Start version: 5.0.0(12)

Name

Value

Description

PLAYING

1

Playing.

PAUSED

2

Paused.

COMPLETED

3

Playback ends.

WAITING

4

Not played/Stopped.

NOT_IN_READ_LIST

5

Not in the reading list.