AccountProfile.Builder


class AccountProfile.Builder


Builder class for AccountProfile.

Summary

Public constructors

Public functions

AccountProfile!
AccountProfile.Builder!

Sets the id of the media provider account.

AccountProfile.Builder!

Sets the profile ID within the media provider account.

Public constructors

Builder

Builder()

Public functions

build

fun build(): AccountProfile!

setAccountId

@CanIgnoreReturnValue
fun setAccountId(accountId: String): AccountProfile.Builder!

Sets the id of the media provider account. The account ID can be real, opaque or hashed.

Required.

setProfileId

@CanIgnoreReturnValue
fun setProfileId(profileId: String): AccountProfile.Builder!

Sets the profile ID within the media provider account. An account can have multiple profiles associated with it. The profile ID can be real, opaque or hashed. Example profile IDs: "12345678", "john_doe_profile", "family_profile".

Optional.