BZNotifyMediaEvent Constants Reference
Declared in | BZMediaParams.h |
BZNotifyMediaEvent
This constant enumerator defines the Notify Media Events (NME) associated with executing media functions (BZNotifyMediaFunction) and published to registered clients during the frameworks execution of media tasks.
Definition
typedef NS_ENUM(NSInteger, BZNotifyMediaEvent ) {
NME_UNKNOWN = 0,
NME_STARTED = 1,
NME_STOPPED = 2,
NME_PAUSED = 3,
NME_RESUMED = 4,
NME_ENDED = 5,
NME_LOOPED = 6,
NME_BOOKMARK = 7,
NME_SPEECH_DETECTED = 8,
NME_SILENCE_DETECTED = 9,
NME_SR_HYPOTHESIS_PARTIAL = 10,
NME_SR_HYPOTHESIS = 11,
NME_SR_COMPLETE = 12,
NME_CLIENT_WILLRESIGN_ACTIVE = 13,
NME_CLIENT_DIDBECOME_ACTIVE = 14,
NME_AUDIOSESSION_INTERRUPTION_BEGIN = 15,
NME_AUDIOSESSION_INTERRUPTION_END = 16,
NME_AUDIOSESSION_ROUTE_CHANGE = 17,
NME_AUDIOSESSION_MEDIASERVICES_LOST = 18,
NME_AUDIOSESSION_MEDIASERVICES_RESET = 19,
NME_AUDIOSESSION_CANPLAYORRECORD_CHANGE = 20,
NME_AUDIOSESSION_PLAYORRECORD_START = 21,
NME_AUDIOSESSION_PLAYORRECORD_STOP = 22,
NME_MICROPHONE_PERMISSION_GRANTED = 23,
NME_MICROPHONE_PERMISSION_DENIED = 24,
NME_SPEECHRECOGNIZER_PERMISSION_GRANTED = 25,
NME_SPEECHRECOGNIZER_PERMISSION_DENIED = 26,
NME_SPEECHRECOGNIZER_AVAILABLE = 27,
NME_SPEECHRECOGNIZER_NOT_AVAILABLE = 28,
NME_BARGEIN_SPEECHDETECTION = 29,
NME_BARGEIN_SRHYPOTHESIS = 30,
};
Constants
NME_UNKNOWN
-
Media event is unknown.
Declared In
BZMediaParams.h
. NME_STARTED
-
Media event is media function started and is associated with NMF_PLAY_AUDIO, NMF_PLAY_AUDIO_SEGMENT, NMF_RECORD_AUDIO, NMF_RECOGNIZE_AUDIO and NMF_RECOGNIZE_FILE_AUDIO media functions.
Declared In
BZMediaParams.h
. NME_STOPPED
-
Media event is media function stopped and is associated with NMF_PLAY_AUDIO, NMF_PLAY_AUDIO_SEGMENT, NMF_RECORD_AUDIO, NMF_RECOGNIZE_AUDIO and NMF_RECOGNIZE_FILE_AUDIO media functions.
Declared In
BZMediaParams.h
. NME_PAUSED
-
Media event is media function paused and is associated with NMF_PLAY_AUDIO, NMF_PLAY_AUDIO_SEGMENT, NMF_RECORD_AUDIO, NMF_RECOGNIZE_AUDIO and NMF_RECOGNIZE_FILE_AUDIO media functions.
Declared In
BZMediaParams.h
. NME_RESUMED
-
Media event is media function resumed and is associated with NMF_PLAY_AUDIO, NMF_PLAY_AUDIO_SEGMENT, NMF_RECORD_AUDIO, NMF_RECOGNIZE_AUDIO and NMF_RECOGNIZE_FILE_AUDIO media functions.
Declared In
BZMediaParams.h
. NME_ENDED
-
Media event is media function ended and is associated with NMF_PLAY_AUDIO, NMF_PLAY_AUDIO_SEGMENT, NMF_RECORD_AUDIO, NMF_RECOGNIZE_AUDIO and NMF_RECOGNIZE_FILE_AUDIO media functions.
Declared In
BZMediaParams.h
. NME_LOOPED
-
Media event is media function NMF_PLAY_AUDIO looped.
Declared In
BZMediaParams.h
. NME_BOOKMARK
-
Media event is bookmark reached during media functions NMF_PLAY_AUDIO and NMF_RECORD_AUDIO.
Declared In
BZMediaParams.h
. NME_SPEECH_DETECTED
-
Media event is speech detected during media functions NMF_RECORD_AUDIO and NMF_RECOGNIZE_AUDIO.
Declared In
BZMediaParams.h
. NME_SILENCE_DETECTED
-
Media event is silence detected during media functions NMF_RECORD_AUDIO and NMF_RECOGNIZE_AUDIO.
Declared In
BZMediaParams.h
. NME_SR_HYPOTHESIS_PARTIAL
-
Media event is speech recognizer partial hypothesis.
Declared In
BZMediaParams.h
. NME_SR_HYPOTHESIS
-
Media event is speech recognizer complete hypothesis.
Declared In
BZMediaParams.h
. NME_SR_COMPLETE
-
Media event is speech recognition task is comlplete.
Declared In
BZMediaParams.h
. NME_CLIENT_WILLRESIGN_ACTIVE
-
Media event is client will resign active and is assoicated with NMF_CLIENT_STATE media function.
Declared In
BZMediaParams.h
. NME_CLIENT_DIDBECOME_ACTIVE
-
Media event is client did become active and is assoicated with NMF_CLIENT_STATE media function.
Declared In
BZMediaParams.h
. NME_AUDIOSESSION_INTERRUPTION_BEGIN
-
Media event is audio session interruption begin and is assoicated with NMF_AUDIO_SESSION media function.
Declared In
BZMediaParams.h
. NME_AUDIOSESSION_INTERRUPTION_END
-
Media event is audio session interruption end and is assoicated with NMF_AUDIO_SESSION media function.
Declared In
BZMediaParams.h
. NME_AUDIOSESSION_ROUTE_CHANGE
-
Media event is audio session route change between audio sources and between audio destinations on a device and is assoicated with NMF_AUDIO_SESSION media function.
Declared In
BZMediaParams.h
. NME_AUDIOSESSION_MEDIASERVICES_LOST
-
Media event is audio session media services lost and is assoicated with NMF_AUDIO_SESSION media function.
Declared In
BZMediaParams.h
. NME_AUDIOSESSION_MEDIASERVICES_RESET
-
Media event is audio session media services reset and is assoicated with NMF_AUDIO_SESSION media function.
Declared In
BZMediaParams.h
. NME_AUDIOSESSION_CANPLAYORRECORD_CHANGE
-
Media event is audio session change in the capabilities to play or record audio and is assoicated with NMF_AUDIO_SESSION media function.
Declared In
BZMediaParams.h
. NME_AUDIOSESSION_PLAYORRECORD_START
-
Media event is audio session play or record audio started and is assoicated with NMF_AUDIO_SESSION media function.
Declared In
BZMediaParams.h
. NME_AUDIOSESSION_PLAYORRECORD_STOP
-
Media event is audio session play or record audio stopped and is assoicated with NMF_AUDIO_SESSION media function.
Declared In
BZMediaParams.h
. NME_MICROPHONE_PERMISSION_GRANTED
-
Media event is microphone permission granted and is assoicated with NMF_MEDIA_PERMISSION media function.
Declared In
BZMediaParams.h
. NME_MICROPHONE_PERMISSION_DENIED
-
Media event is microphone permission denied and is assoicated with NMF_MEDIA_PERMISSION media function.
Declared In
BZMediaParams.h
. NME_SPEECHRECOGNIZER_PERMISSION_GRANTED
-
Media event is speech recognition permission granted and is assoicated with NMF_MEDIA_PERMISSION media function.
Declared In
BZMediaParams.h
. NME_SPEECHRECOGNIZER_PERMISSION_DENIED
-
Media event is microphone permission denied and is assoicated with NMF_MEDIA_PERMISSION media function.
Declared In
BZMediaParams.h
. NME_SPEECHRECOGNIZER_AVAILABLE
-
Media event is speecgh recognizer available and is assoicated with NMF_MEDIA_AVAILABILITY media function.
Declared In
BZMediaParams.h
. NME_SPEECHRECOGNIZER_NOT_AVAILABLE
-
Media event is speecgh recognizer not available and is assoicated with NMF_MEDIA_AVAILABILITY media function.
Declared In
BZMediaParams.h
. NME_BARGEIN_SPEECHDETECTION
-
Media event is bargein due to speech detection and is assoicated with NMF_PLAY_AUDIO and NMF_PLAY_AUDIO_SEGMENT media functions.
Declared In
BZMediaParams.h
. NME_BARGEIN_SRHYPOTHESIS
-
Media event is bargein due to speech recognition hypothesuis and is assoicated with NMF_PLAY_AUDIO and NMF_PLAY_AUDIO_SEGMENT media functions.
Declared In
BZMediaParams.h
.
Declared In
BZMediaParams.h