OHOS::Media::PlayerCallback

    MultiMedia_Player

    Description:

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

    Since:

    1.0

    Version:

    1.0

    Public Member Function Name

    Description

    ()=0

    virtual void 

    Called when the playback is complete.

    OnError (int32_t errorType, int32_t errorCode)=0

    virtual void 

    (int type, int extra)=0

    virtual void 

    Called when playback information is received.

    OnVideoSizeChanged (int width, int height)=0

    virtual void 

    Called when the video image size changes.

    ()=0

    virtual void 

    Called when the rewind is complete.