BZNotifyMediaFunction Constants Reference
Declared in | BZMediaParams.h |
BZNotifyMediaFunction
This constant enumerator defines the Notify Media Function (NMF) categories for event notifications published to registered clients during the frameworks execution of media tasks.
Definition
typedef NS_ENUM(NSInteger, BZNotifyMediaFunction ) {
NMF_UNKNOWN = 0,
NMF_PLAY_AUDIO = 1,
NMF_RECORD_AUDIO = 2,
NMF_PLAY_AUDIO_SEGMENT = 3,
NMF_RECOGNIZE_AUDIO = 4,
NMF_RECOGNIZE_FILE_AUDIO = 5,
NMF_CLIENT_STATE = 6,
NMF_AUDIO_SESSION = 7,
NMF_MEDIA_PERMISSION = 8,
NMF_MEDIA_AVAILABILITY = 9,
};
Constants
NMF_UNKNOWN
-
Media function is unknown. Value is used as default for media tasks not categorized.
Declared In
BZMediaParams.h
. NMF_PLAY_AUDIO
-
Media function is play audio or audio playback.
Declared In
BZMediaParams.h
. NMF_RECORD_AUDIO
-
Media function is record audio.
Declared In
BZMediaParams.h
. 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
BZMediaParams.h
. NMF_RECOGNIZE_AUDIO
-
Media function is recognize live audio from an audio input source.
Declared In
BZMediaParams.h
. NMF_RECOGNIZE_FILE_AUDIO
-
Media function is recognize audio from a recorded file audio input source.
Declared In
BZMediaParams.h
. NMF_CLIENT_STATE
-
Media function is client state to notify client of “resign being active” or “has become active” states due to external disruptions of executing client on a device.
Declared In
BZMediaParams.h
. NMF_AUDIO_SESSION
-
Media function is audio session to notify client of changes in the audio session state assigned to client.
Declared In
BZMediaParams.h
. NMF_MEDIA_PERMISSION
-
Media function is media permission to notify client of media permissions for media resources to assign to client.
Declared In
BZMediaParams.h
. NMF_MEDIA_AVAILABILITY
-
Media function is media availability to notify client of changes in availability for media resources assigned to client.
Declared In
BZMediaParams.h
.
Declared In
BZMediaParams.h