IntdashAudioDecoderDelegate
public protocol IntdashAudioDecoderDelegate : NSObjectProtocol
IntdashAudioDecoder が使用する Delegate 表すプロトコル。
-
セットした音声サンプルのデコードが成功した際に呼び出されるコールバック。
Declaration
Swift
func decodedSamples(_ decoder: IntdashAudioDecoder, sampleData: Data, timestamp: TimeInterval)Parameters
decoder音声用デコーダー。
sampleDataデコードされた音声サンプル。
timestampタイムスタンプ。
-
セットした音声サンプルのデコードが失敗した際に呼び出されるコールバック。
Declaration
Swift
func decodeFailedSampleData(_ decoder: IntdashAudioDecoder, error: NSError)Parameters
decoder音声用デコーダー。
errorエラー情報。
IntdashAudioDecoderDelegate Protocol Reference