Package 

Class CastDomain


  • 
    public final class CastDomain
    
                        

    A domain for interacting with Cast, Presentation API, and Remote Playback API functionalities.

    Official doc

    • Method Summary

      Modifier and Type Method Description
      final Flow<CastEvent> events() Subscribes to all events related to this domain.
      final Flow<CastEvent.SinksUpdatedEvent> sinksUpdated() This is fired whenever the list of available sinks changes.
      final Flow<CastEvent.IssueUpdatedEvent> issueUpdated() This is fired whenever the outstanding issue/error message changes.
      final Unit enable(EnableRequest input) Starts observing for sinks that can be used for tab mirroring, and if set, sinks compatible with |presentationUrl| as well.
      final Unit disable() Stops observing for sinks and issues.
      final Unit setSinkToUse(SetSinkToUseRequest input) Sets a sink to be used when the web page requests the browser to choose a sink via Presentation API, Remote Playback API, or Cast SDK.
      final Unit startTabMirroring(StartTabMirroringRequest input) Starts mirroring the tab to the sink.
      final Unit stopCasting(StopCastingRequest input) Stops the active Cast session on the sink.
      • Methods inherited from class org.hildan.chrome.devtools.domains.cast.CastDomain

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait