| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
CDP.Domains.Cast
Description
Cast
A domain for interacting with Cast, Presentation API, and Remote Playback API functionalities.
Synopsis
- data PCastStopCasting = PCastStopCasting {}
- data PCastStartTabMirroring = PCastStartTabMirroring {}
- data PCastStartDesktopMirroring = PCastStartDesktopMirroring {}
- data PCastSetSinkToUse = PCastSetSinkToUse {}
- data PCastDisable = PCastDisable
- data PCastEnable = PCastEnable {}
- data CastIssueUpdated = CastIssueUpdated {}
- data CastSinksUpdated = CastSinksUpdated {}
- data CastSink = CastSink {}
- pCastEnable :: PCastEnable
- pCastDisable :: PCastDisable
- pCastSetSinkToUse :: Text -> PCastSetSinkToUse
- pCastStartDesktopMirroring :: Text -> PCastStartDesktopMirroring
- pCastStartTabMirroring :: Text -> PCastStartTabMirroring
- pCastStopCasting :: Text -> PCastStopCasting
Documentation
data PCastStopCasting Source #
Stops the active Cast session on the sink.
Parameters of the stopCasting command.
Constructors
| PCastStopCasting | |
Fields | |
Instances
| Eq PCastStopCasting Source # | |
Defined in CDP.Domains.Cast Methods (==) :: PCastStopCasting -> PCastStopCasting -> Bool # (/=) :: PCastStopCasting -> PCastStopCasting -> Bool # | |
| Show PCastStopCasting Source # | |
Defined in CDP.Domains.Cast Methods showsPrec :: Int -> PCastStopCasting -> ShowS # show :: PCastStopCasting -> String # showList :: [PCastStopCasting] -> ShowS # | |
| ToJSON PCastStopCasting Source # | |
Defined in CDP.Domains.Cast Methods toJSON :: PCastStopCasting -> Value # toEncoding :: PCastStopCasting -> Encoding # toJSONList :: [PCastStopCasting] -> Value # toEncodingList :: [PCastStopCasting] -> Encoding # | |
| Command PCastStopCasting Source # | |
Defined in CDP.Domains.Cast Associated Types Methods commandName :: Proxy PCastStopCasting -> String Source # fromJSON :: Proxy PCastStopCasting -> Value -> Result (CommandResponse PCastStopCasting) Source # | |
| type CommandResponse PCastStopCasting Source # | |
Defined in CDP.Domains.Cast | |
data PCastStartTabMirroring Source #
Starts mirroring the tab to the sink.
Parameters of the startTabMirroring command.
Constructors
| PCastStartTabMirroring | |
Fields | |
Instances
| Eq PCastStartTabMirroring Source # | |
Defined in CDP.Domains.Cast Methods (==) :: PCastStartTabMirroring -> PCastStartTabMirroring -> Bool # (/=) :: PCastStartTabMirroring -> PCastStartTabMirroring -> Bool # | |
| Show PCastStartTabMirroring Source # | |
Defined in CDP.Domains.Cast Methods showsPrec :: Int -> PCastStartTabMirroring -> ShowS # show :: PCastStartTabMirroring -> String # showList :: [PCastStartTabMirroring] -> ShowS # | |
| ToJSON PCastStartTabMirroring Source # | |
Defined in CDP.Domains.Cast Methods toJSON :: PCastStartTabMirroring -> Value # toEncoding :: PCastStartTabMirroring -> Encoding # toJSONList :: [PCastStartTabMirroring] -> Value # | |
| Command PCastStartTabMirroring Source # | |
Defined in CDP.Domains.Cast Associated Types Methods commandName :: Proxy PCastStartTabMirroring -> String Source # fromJSON :: Proxy PCastStartTabMirroring -> Value -> Result (CommandResponse PCastStartTabMirroring) Source # | |
| type CommandResponse PCastStartTabMirroring Source # | |
Defined in CDP.Domains.Cast | |
data PCastStartDesktopMirroring Source #
Starts mirroring the desktop to the sink.
Parameters of the startDesktopMirroring command.
Constructors
| PCastStartDesktopMirroring | |
Fields | |
Instances
| Eq PCastStartDesktopMirroring Source # | |
Defined in CDP.Domains.Cast Methods (==) :: PCastStartDesktopMirroring -> PCastStartDesktopMirroring -> Bool # (/=) :: PCastStartDesktopMirroring -> PCastStartDesktopMirroring -> Bool # | |
| Show PCastStartDesktopMirroring Source # | |
Defined in CDP.Domains.Cast Methods showsPrec :: Int -> PCastStartDesktopMirroring -> ShowS # show :: PCastStartDesktopMirroring -> String # showList :: [PCastStartDesktopMirroring] -> ShowS # | |
| ToJSON PCastStartDesktopMirroring Source # | |
Defined in CDP.Domains.Cast Methods toJSON :: PCastStartDesktopMirroring -> Value # toEncoding :: PCastStartDesktopMirroring -> Encoding # toJSONList :: [PCastStartDesktopMirroring] -> Value # toEncodingList :: [PCastStartDesktopMirroring] -> Encoding # | |
| Command PCastStartDesktopMirroring Source # | |
Defined in CDP.Domains.Cast Associated Types | |
| type CommandResponse PCastStartDesktopMirroring Source # | |
Defined in CDP.Domains.Cast | |
data PCastSetSinkToUse Source #
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.
Parameters of the setSinkToUse command.
Constructors
| PCastSetSinkToUse | |
Fields | |
Instances
| Eq PCastSetSinkToUse Source # | |
Defined in CDP.Domains.Cast Methods (==) :: PCastSetSinkToUse -> PCastSetSinkToUse -> Bool # (/=) :: PCastSetSinkToUse -> PCastSetSinkToUse -> Bool # | |
| Show PCastSetSinkToUse Source # | |
Defined in CDP.Domains.Cast Methods showsPrec :: Int -> PCastSetSinkToUse -> ShowS # show :: PCastSetSinkToUse -> String # showList :: [PCastSetSinkToUse] -> ShowS # | |
| ToJSON PCastSetSinkToUse Source # | |
Defined in CDP.Domains.Cast Methods toJSON :: PCastSetSinkToUse -> Value # toEncoding :: PCastSetSinkToUse -> Encoding # toJSONList :: [PCastSetSinkToUse] -> Value # toEncodingList :: [PCastSetSinkToUse] -> Encoding # | |
| Command PCastSetSinkToUse Source # | |
Defined in CDP.Domains.Cast Associated Types Methods commandName :: Proxy PCastSetSinkToUse -> String Source # fromJSON :: Proxy PCastSetSinkToUse -> Value -> Result (CommandResponse PCastSetSinkToUse) Source # | |
| type CommandResponse PCastSetSinkToUse Source # | |
Defined in CDP.Domains.Cast | |
data PCastDisable Source #
Stops observing for sinks and issues.
Parameters of the disable command.
Constructors
| PCastDisable |
Instances
| Eq PCastDisable Source # | |
Defined in CDP.Domains.Cast | |
| Show PCastDisable Source # | |
Defined in CDP.Domains.Cast Methods showsPrec :: Int -> PCastDisable -> ShowS # show :: PCastDisable -> String # showList :: [PCastDisable] -> ShowS # | |
| ToJSON PCastDisable Source # | |
Defined in CDP.Domains.Cast Methods toJSON :: PCastDisable -> Value # toEncoding :: PCastDisable -> Encoding # toJSONList :: [PCastDisable] -> Value # toEncodingList :: [PCastDisable] -> Encoding # | |
| Command PCastDisable Source # | |
Defined in CDP.Domains.Cast Associated Types Methods commandName :: Proxy PCastDisable -> String Source # fromJSON :: Proxy PCastDisable -> Value -> Result (CommandResponse PCastDisable) Source # | |
| type CommandResponse PCastDisable Source # | |
Defined in CDP.Domains.Cast | |
data PCastEnable Source #
Starts observing for sinks that can be used for tab mirroring, and if set, sinks compatible with |presentationUrl| as well. When sinks are found, a |sinksUpdated| event is fired. Also starts observing for issue messages. When an issue is added or removed, an |issueUpdated| event is fired.
Parameters of the enable command.
Constructors
| PCastEnable | |
Fields | |
Instances
| Eq PCastEnable Source # | |
Defined in CDP.Domains.Cast | |
| Show PCastEnable Source # | |
Defined in CDP.Domains.Cast Methods showsPrec :: Int -> PCastEnable -> ShowS # show :: PCastEnable -> String # showList :: [PCastEnable] -> ShowS # | |
| ToJSON PCastEnable Source # | |
Defined in CDP.Domains.Cast Methods toJSON :: PCastEnable -> Value # toEncoding :: PCastEnable -> Encoding # toJSONList :: [PCastEnable] -> Value # toEncodingList :: [PCastEnable] -> Encoding # | |
| Command PCastEnable Source # | |
Defined in CDP.Domains.Cast Associated Types Methods commandName :: Proxy PCastEnable -> String Source # fromJSON :: Proxy PCastEnable -> Value -> Result (CommandResponse PCastEnable) Source # | |
| type CommandResponse PCastEnable Source # | |
Defined in CDP.Domains.Cast | |
data CastIssueUpdated Source #
Type of the issueUpdated event.
Constructors
| CastIssueUpdated | |
Fields | |
Instances
| Eq CastIssueUpdated Source # | |
Defined in CDP.Domains.Cast Methods (==) :: CastIssueUpdated -> CastIssueUpdated -> Bool # (/=) :: CastIssueUpdated -> CastIssueUpdated -> Bool # | |
| Show CastIssueUpdated Source # | |
Defined in CDP.Domains.Cast Methods showsPrec :: Int -> CastIssueUpdated -> ShowS # show :: CastIssueUpdated -> String # showList :: [CastIssueUpdated] -> ShowS # | |
| FromJSON CastIssueUpdated Source # | |
Defined in CDP.Domains.Cast Methods parseJSON :: Value -> Parser CastIssueUpdated # parseJSONList :: Value -> Parser [CastIssueUpdated] # | |
| Event CastIssueUpdated Source # | |
Defined in CDP.Domains.Cast | |
data CastSinksUpdated Source #
Type of the sinksUpdated event.
Constructors
| CastSinksUpdated | |
Fields | |
Instances
| Eq CastSinksUpdated Source # | |
Defined in CDP.Domains.Cast Methods (==) :: CastSinksUpdated -> CastSinksUpdated -> Bool # (/=) :: CastSinksUpdated -> CastSinksUpdated -> Bool # | |
| Show CastSinksUpdated Source # | |
Defined in CDP.Domains.Cast Methods showsPrec :: Int -> CastSinksUpdated -> ShowS # show :: CastSinksUpdated -> String # showList :: [CastSinksUpdated] -> ShowS # | |
| FromJSON CastSinksUpdated Source # | |
Defined in CDP.Domains.Cast Methods parseJSON :: Value -> Parser CastSinksUpdated # parseJSONList :: Value -> Parser [CastSinksUpdated] # | |
| Event CastSinksUpdated Source # | |
Defined in CDP.Domains.Cast | |
Type Sink.
Constructors
| CastSink | |
Fields
| |