2. SDK Integration

Init record SDK

ParamTypeDescription

appId

String

Application id

secretKey

String

IOE secret key

        FTechIOEManager.instance().initRecord(appId: "", key: "")

Register callback

After registration, the SDK will return the corresponding status in the callback

StatusDescription

initRecord

Call when init success

onStart

Called at start record

onRecording

Called while in process recording

onFail

Called when an error occurs in process recording

onComplete

Called when completed record process and return evaluate result

  • Implement FTechIOEManagerDelegate

    func initRecord(success: Bool) {
    }
    
    func onStart() {
    }
    
    func onRecording() {
    }
    
    func onFailure(error: FSoundError) {
    }
    
    func onCompletionRecord(data: StopRecordIOEResponse) {
    }

Last updated