STNotifyMediaFunction Constants Reference
| Declared in | STMediaParams_doc.h |
STNotifyMediaFunction
This enumerator defines the Notify Media Function (NMF) categories for event notifications published to registered clients during STMediaRunner module execution of media tasks.
Definition
enum STNotifyMediaFunction: String {
case NMF_UNKNOWN,
NMF_PLAY_AUDIO,
NMF_RECORD_AUDIO,
NMF_PLAY_AUDIO_SEGMENT,
NMF_RECOGNIZE_AUDIO,
NMF_APP_STATE,
NMF_AUDIO_SESSION,
NMF_MEDIA_PERMISSION,
NMF_MEDIA_AVAILABILITY
}
Constants
case NMF_UNKNOWN-
Media function is unknown. Value is used as default for media tasks not categorized.
Declared In
STMediaParams_doc.h. case NMF_PLAY_AUDIO-
Media function is play audio or audio playback.
Declared In
STMediaParams_doc.h. case NMF_RECORD_AUDIO-
Media function is record audio.
Declared In
STMediaParams_doc.h. case NMF_PLAY_AUDIO_SEGMENT-
Media function is play audio segment to notifiy client of media events occuring during the audio playback of an audio segment. Example of such media events include speech detection and speech recognition hypothesis.
Declared In
STMediaParams_doc.h. case NMF_RECOGNIZE_AUDIO-
Media function is recognize device audio from an audio input source.
Declared In
STMediaParams_doc.h. case NMF_APP_STATE-
Media function is application state to notify client of “resign being active” or “has become active” states due to external disruptions of executing application on a device.
Declared In
STMediaParams_doc.h. case NMF_AUDIO_SESSION-
Media function is audio session to notify client of changes in the audio session state assigned to client.
Declared In
STMediaParams_doc.h. case NMF_MEDIA_PERMISSION-
Media function is media permission to notify client of media permissions for media resources to assign to client.
Declared In
STMediaParams_doc.h. case NMF_MEDIA_AVAILABILITY-
Media function is media availability to notify client of changes in availability for media resources assigned to client.
Declared In
STMediaParams_doc.h.
Declared In
STMediaParams_doc.h