CastReceiverUtils

public classCastReceiverUtilsextendsObject

Utility class for miscellaneous helper methods.

Public Method Summary

staticCastLaunchRequest
parseCastLaunchRequestFromLaunchIntent(Intent intent)
Parse theCastLaunchRequest from a launch intent.

Inherited Method Summary

Public Methods

public staticCastLaunchRequest parseCastLaunchRequestFromLaunchIntent (Intent intent)

Parse theCastLaunchRequest from a launch intent.

This method can be used to know theCastLaunchRequest which is used to initially launch the app for the first time. Typically the CastLaunchRequest can be obtained from theSenderInfo of each sender, but for the initial launch, the first sender is not connected yet.

This method returnsnullifintentis not a Cast launch intent.