castPlayer

Return

valid CastPlayer instance or null. Prior to accessing CastPlayer instance the Sender Application should call registerUserData to register the user data with Firstlight Platform. The null value is returned only if the current cast session is not established or if the CastManager failed to send user data registration message. The failure reason will be provided by Error object returned in CastManagerStateListener.onDeviceRegistrationError callback.