AccountProfile.Builder

public final class AccountProfile.Builder


Builder class for AccountProfile.

Summary

Public constructors

Public methods

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

public Builder()

Public methods

build

public AccountProfile build()

setAccountId

@CanIgnoreReturnValue
public AccountProfile.Builder setAccountId(@NonNull String accountId)

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

Required.

setProfileId

@CanIgnoreReturnValue
public AccountProfile.Builder setProfileId(@NonNull String profileId)

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.