Google is committed to advancing racial equity for Black communities. See how.

CastReceiverOptions.LaunchRequestChecker

public static interface CastReceiverOptions.LaunchRequestChecker

Interface for checking if a launch request is supported.

Public Method Summary

abstract Task<Boolean>
checkLaunchRequestSupported(CastLaunchRequest launchRequest)
Called when a sender requests to launch the app or join the current session.

Public Methods

public abstract Task<Boolean> checkLaunchRequestSupported (CastLaunchRequest launchRequest)

Called when a sender requests to launch the app or join the current session.

Resolve a Task with true if the launch/join is allowed, or with false if the launch/join is disallowed.