OHOS::Media::RecorderCallback

    MultiMedia_Recorder

    Description:

    Provides listeners for recording errors and information events.

    Since:

    1.0

    Version:

    1.0

    Description

    OnError (int32_t errorType, int32_t errorCode)=0

    virtual void 

    Called when an error occurs during recording. This callback is used to report recording errors.

    (int32_t type, int32_t extra)=0

    virtual void 

    Called when an information event occurs during recording. This callback is used to report recording information.