result_callback property

Pointer<NativeFunction<Void Function(UnsignedInt status, Pointer<MpAudioClassifierResult> result)>> result_callback
getter/setter pair

The user-defined result callback for processing audio stream data. The result callback should only be specified when the running mode is set to kMpAudioRunningModeAudioStream.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    ffi.Void Function(ffi.UnsignedInt status, ffi.Pointer<MpAudioClassifierResult> result)
  >
>
result_callback;