OpaqueId

class OpaqueId
kotlin.Any
   ↳ com.google.android.gms.dtdi.analytics.Identifiers.OpaqueId

Immutable class that represents an ID.

Summary

Public methods

Boolean
equals(other: Any?)

Int

ByteArray

Converts this OpaqueId to a ByteArray.

ByteString

Converts this OpaqueId to a ByteString.

Companion functions

Identifiers.OpaqueId

Creates an OpaqueId from a ByteArray.

Identifiers.OpaqueId
fromByteString(bs: ByteString)

Creates an OpaqueId from a ByteString.

Public methods

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

toByteArray

fun toByteArray(): ByteArray

Converts this OpaqueId to a ByteArray.

toByteString

fun toByteString(): ByteString

Converts this OpaqueId to a ByteString.

Companion functions

fromByteArray

fun fromByteArray(bytes: ByteArray): Identifiers.OpaqueId

Creates an OpaqueId from a ByteArray.

fromByteString

fun fromByteString(bs: ByteString): Identifiers.OpaqueId

Creates an OpaqueId from a ByteString.