Skip to content

struct DefaultKeyResolution

cangjie
public struct DefaultKeyResolution

功能:表示默认密钥解析结果。

成员概览

成员功能
init(?IKey, ?IKey)创建默认密钥解析结果。

init(?IKey, ?IKey)

cangjie
public DefaultKeyResolution(public let defaultKey: ?IKey, public let fallbackKey: ?IKey)

功能:创建默认密钥解析结果。

参数:

  • defaultKey: ?IKey - 当前选中的默认密钥。
  • fallbackKey: ?IKey - 默认密钥不可用时的回退密钥。