CastReceiverOptions.LaunchRequestChecker

  • CastReceiverOptions.LaunchRequestChecker is an interface used to determine if a launch request is supported.

  • The checkLaunchRequestSupported method is called when a sender requests to launch the app or join a session.

  • This method returns a Task that resolves to true if the request is allowed and false if it is disallowed.

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.