diff --git a/library/org.xmtp.android.library.frames/-aspect-ratio/-r-a-t-i-o_1_1/index.html b/library/org.xmtp.android.library.frames/-aspect-ratio/-r-a-t-i-o_1_1/index.html index 5659cfc8a..4f978ae72 100644 --- a/library/org.xmtp.android.library.frames/-aspect-ratio/-r-a-t-i-o_1_1/index.html +++ b/library/org.xmtp.android.library.frames/-aspect-ratio/-r-a-t-i-o_1_1/index.html @@ -69,13 +69,13 @@
XMTP SDK's may embed libxmtp (v3) alongside existing v2 protocol logic for backwards-compatibility purposes. In this case, the client may already have a wallet-signed v2 key. Depending on the source of this key, libxmtp may choose to bootstrap v3 installation keys using the existing legacy key.
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
if this enum type has no constant with the specified name
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
It returns a new client of the specified inbox_id
. Note that the inbox_id
must be either brand new or already associated with the account_address
. i.e. inbox_id
cannot be associated with another account address.
Prior to calling this function, it's suggested to form inbox_id
, account_address
, and nonce
like below.
inbox_id = get_inbox_id_for_address(account_address)
nonce = 0
// if inbox_id is not associated, we will create new one.
if !inbox_id {
if !legacy_key { nonce = random_u64() }
inbox_id = generate_inbox_id(account_address, nonce)
} // Otherwise, we will just use the inbox and ignore the nonce.
db_path = $inbox_id-$env
xmtp.create_client(account_address, nonce, inbox_id, Option<legacy_signed_private_key_proto>)
XMTP SDK's may embed libxmtp (v3) alongside existing v2 protocol logic for backwards-compatibility purposes. In this case, the client may already have a wallet-signed v2 key. Depending on the source of this key, libxmtp may choose to bootstrap v3 installation keys using the existing legacy key.
It returns a new client of the specified inbox_id
. Note that the inbox_id
must be either brand new or already associated with the account_address
. i.e. inbox_id
cannot be associated with another account address.