27 lines
986 B
C
27 lines
986 B
C
|
|
//
|
|||
|
|
// KBVoiceBridgeNotification.h
|
|||
|
|
// 通用的语音录制桥接常量(App 与键盘扩展共享)
|
|||
|
|
//
|
|||
|
|
|
|||
|
|
#import <Foundation/Foundation.h>
|
|||
|
|
|
|||
|
|
NS_ASSUME_NONNULL_BEGIN
|
|||
|
|
|
|||
|
|
/// 扩展 -> 主 App:请求开始录音
|
|||
|
|
extern NSString * const KBDarwinVoiceStartRequest; // "com.loveKey.nyx.voice.start"
|
|||
|
|
/// 扩展 -> 主 App:请求停止录音
|
|||
|
|
extern NSString * const KBDarwinVoiceStopRequest; // "com.loveKey.nyx.voice.stop"
|
|||
|
|
/// 主 App -> 扩展:录音文件已就绪
|
|||
|
|
extern NSString * const KBDarwinVoiceReady; // "com.loveKey.nyx.voice.ready"
|
|||
|
|
/// 主 App -> 扩展:录音失败
|
|||
|
|
extern NSString * const KBDarwinVoiceFailed; // "com.loveKey.nyx.voice.failed"
|
|||
|
|
|
|||
|
|
/// App Group: 录音文件路径(NSString)
|
|||
|
|
extern NSString * const KBVoiceBridgeFilePathKey;
|
|||
|
|
/// App Group: 录音错误信息(NSString)
|
|||
|
|
extern NSString * const KBVoiceBridgeErrorKey;
|
|||
|
|
/// App Group: 录音时间戳(NSNumber)
|
|||
|
|
extern NSString * const KBVoiceBridgeTimestampKey;
|
|||
|
|
|
|||
|
|
NS_ASSUME_NONNULL_END
|