Protocols
The following declarations are available globally.
-
This protocol defines an interface for the delegates of
AudioClassifierobject to receive results of asynchronous classification of audio stream (i.e, whenrunningMode=.audioStream).The delegate of
AudioClassifiermust adoptAudioClassifierStreamDelegateprotocol. The methods in this protocol are optional.Declaration
Swift
protocol AudioClassifierStreamDelegate : NSObjectProtocol -
Protocol for generating embeddings across different modalities using task content parts.
Declaration
Swift
protocol EmbeddingProvider : NSObjectProtocol