AI-generated Key Takeaways
-
CastReceiverOptions.LaunchRequestCheckeris an interface used to determine if a launch request is supported. -
The
checkLaunchRequestSupportedmethod is called when a sender requests to launch the app or join a session. -
This method returns a
Taskthat resolves totrueif the request is allowed andfalseif it is disallowed.
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.