Initial project
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
/// Method Channel 常量
|
||||
/// 定義 Flutter 與原生平台通訊的方法名稱
|
||||
///
|
||||
/// 注意:加密邏輯已移至 Flutter 端
|
||||
/// 原生端僅保留同步功能
|
||||
class EncryptionMethodChannel {
|
||||
// ==================== Channel 配置 ====================
|
||||
|
||||
/// Channel 名稱
|
||||
static const String channelName = 'cipher_guard_sdk/e2e';
|
||||
|
||||
// ==================== 同步功能 (保留在原生端) ====================
|
||||
|
||||
/// 同步單個聊天室金鑰到原生
|
||||
static const String syncEncryptionKey = 'syncEncryptionKey';
|
||||
|
||||
/// 批量同步所有聊天室金鑰
|
||||
static const String syncAllEncryptionKeys = 'syncAllEncryptionKeys';
|
||||
|
||||
// ==================== 配置相關 ====================
|
||||
|
||||
/// 獲取 SDK 版本
|
||||
static const String getPlatformVersion = 'getPlatformVersion';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user