This commit is contained in:
2026-01-15 18:16:56 +08:00
parent da62d4f411
commit 32c4138ae0
29 changed files with 1523 additions and 95 deletions

View File

@@ -0,0 +1,26 @@
//
// 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