bundleID
TypeScriptstatic get bundleID(): WASharedSecret_ContextSwift declarationstatic let bundleID: WASharedSecret.ContextUse your App's bundle ID as the context (default).
struct · iOS 26.4+ · SDK 27.1
struct ContextA unique value that is specific to your App and the use case a given connection will perform, which diversifies the generated secret so that it is unique to your App and connection.
static get bundleID(): WASharedSecret_ContextSwift declarationstatic let bundleID: WASharedSecret.ContextUse your App's bundle ID as the context (default).
static init(data: ArrayBuffer): (WASharedSecret_Context) | nullSwift declarationinit?(_ data: Data)Create a new custom context, providing unique data for the context. Custom context may use any data. The exact same byte value must be set on both the local and remote devices for the same shared secret to be generated. - Parameter data: The data to use as the underlying context, which must be >= 3 bytes long. - Returns: A new Context, or `nil` if the provided string was too short.
static init37833(string: string): (WASharedSecret_Context) | nullSwift declarationinit?(_ string: String)Create a new custom context, providing a unique string for the context. Custom context may use any string that can be represented as UTF-8, and which normalizes to the same value when represented as bytes. ASCII-compatible values are recommended to avoid normalization issues. The exact same value must be set on both the local and remote devices for the same shared secret to be generated. - Parameter string: The string to use as the underlying context, which must be >= 3 characters long. Will be converted to `UTF-8` prior to being hashed in the derivation. - Returns: A new Context, or `nil` if the provided string was too short.
No declarations were skipped in this snapshot.