player.h

    MultiMedia_Player

    Description:

    Declares the Player class, which is used to implement player-related operations.

    Since:

    1.0

    Version:

    Enumeration Name

    Description

    : int32_t {   OHOS::Media::PLAYER_SEEK_PREVIOUS_SYNC = 0, , OHOS::Media::PLAYER_SEEK_CLOSEST_SYNC, ,   OHOS::Media::PLAYER_SEEK_FRAME_INDEX }

    Enumerates player seek modes. You can move the current playback position of the media to a given time position using the specified mode.

    : uint32_t {   OHOS::Media::PLAYER_STATE_ERROR = 0, = 1 << 0, OHOS::Media::PLAYER_INITIALIZED = 1 << 1, = 1 << 2,   OHOS::Media::PLAYER_PREPARED = 1 << 3, = 1 << 4, OHOS::Media::PLAYER_PAUSED = 1 << 5, = 1 << 6,   OHOS::Media::PLAYER_PLAYBACK_COMPLETE = 1 << 7 }