OHOS::Media::PlayerCallback

    Description:

    Provides listeners for events and exception notifications that occur during media playback.

    Since:

    1.0

    Version:

    1.0

    Public Member Function Name

    Description

    OnPlaybackComplete ()=0

    virtual void 

    Called when the playback is complete.

    (int32_t errorType, int32_t errorCode)=0

    virtual void 

    OnInfo (int type, int extra)=0

    virtual void 

    Called when playback information is received.

    (int width, int height)=0

    virtual void 

    Called when the video image size changes.

    OnRewindToComplete ()=0

    virtual void 

    Called when the rewind is complete.