Files
keyboard/Shared/KBVoiceBridgeNotification.h
2026-01-15 18:16:56 +08:00

27 lines
986 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// 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