Stay organized with collections
Save and categorize content based on your preferences.
AccountInfo
@Hide
@ShowFirstParty
class
AccountInfo
:
AbstractSafeParcelable
A representation of an app-level account that can be used to match against app-level accounts on
other devices.
Summary
A representation of an app-level account that can be used to match against app-level accounts on
other devices.
Bytes that are propagated as-is to an originating device that has matched against this account
A hashed identifier for this account
Hashing algorithm used to hash this account's identifier
List of intent action strings that are supported by this account
Public constructors
<init>
AccountInfo
(
hashedAccountId
:
ByteArray
,
hashingAlgorithm
:
Int
,
supportedIntentActions
:
List
<
String
>
,
additionalMetadata
:
ByteArray
)
A representation of an app-level account that can be used to match against app-level accounts on
other devices.
Public methods
writeToParcel
fun
writeToParcel
(
dest
:
Parcel
,
flags
:
Int
)
:
Unit
Properties
val
additionalMetadata
:
ByteArray
Bytes that are propagated as-is to an originating device that has matched against this account
hashedAccountId
val
hashedAccountId
:
ByteArray
A hashed identifier for this account
hashingAlgorithm
val
hashingAlgorithm
:
Int
Hashing algorithm used to hash this account's identifier
supportedIntentActions
val
supportedIntentActions
:
List
<
String
>
List of intent action strings that are supported by this account
Companion properties
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[],["`AccountInfo` represents an app-level account for matching across devices. Key information includes `hashedAccountId` (a hashed identifier), `hashingAlgorithm` (used for the identifier), `supportedIntentActions` (a list of actions), and `additionalMetadata` (bytes for the originating device). Core actions involve initializing an `AccountInfo` instance with these properties, checking equality with another object using `equals`, and using `writeToParcel` to save this account. There is a `CREATOR` property that can be used for creating an instance.\n"]]