registerUserData

fun registerUserData(platformClient: PlatformClient, castDeviceID: String, authToken: String)

Registers, with Platform Services, the data pertaining to the user authentication token, and both the mobile and the cast device information.

Parameters

platformClient

The PlatformClient instance.

castDeviceID

The cast device identifier.

authToken

The user authentication token.

NOTE: This method MUST be called only after the CastManagerStateListener.onSessionStarted callback is triggered since the callback will provide the cast device identifier.