FocusBackendDeviceId

GoogleApi.ContentWarehouse.V1.Model.FocusBackendDeviceId


Table of Contents ▼

Jump to a specific part of the page:

Description

//////////////////// DeviceId ////////////////////// Used by Device Contacts only. For more details see go/fbs-support-for-device-contacts.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. AndroidDeviceId (type: String.t, default: nil)
    - The GServices id on Android. See go/android-id.
  2. Hash (type: String.t, default: nil)
    - DeviceId.Hash is a SHA256 of some attribute of the user and device. For Android devices: Hash = SHA256(gaia_account_name + “:” + “1” + “:” + (android id - LSB)); For iOS devices: Hash = TOLOWER(HEX(GMCSComputeUserDeviceToken(userId, iOsDeviceId)) For more details see go/client-instance-id.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.FocusBackendDeviceId{
AndroidDeviceId: String.t() | nil,
Hash: String.t() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.FocusBackendDeviceId