Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
Instances
Eq PCastStopCasting Source # | |
Defined in CDP.Domains.Cast (==) :: PCastStopCasting -> PCastStopCasting -> Bool # (/=) :: PCastStopCasting -> PCastStopCasting -> Bool # | |
Show PCastStopCasting Source # | |
Defined in CDP.Domains.Cast showsPrec :: Int -> PCastStopCasting -> ShowS # show :: PCastStopCasting -> String # showList :: [PCastStopCasting] -> ShowS # | |
ToJSON PCastStopCasting Source # | |
Defined in CDP.Domains.Cast toJSON :: PCastStopCasting -> Value # toEncoding :: PCastStopCasting -> Encoding # toJSONList :: [PCastStopCasting] -> Value # toEncodingList :: [PCastStopCasting] -> Encoding # | |
Command PCastStopCasting Source # | |
Defined in CDP.Domains.Cast | |
type CommandResponse PCastStopCasting Source # | |
Defined in CDP.Domains.Cast |
data PCastStartTabMirroring Source #
Starts mirroring the tab to the sink.
Parameters of the startTabMirroring
command.
Instances
Eq PCastStartTabMirroring Source # | |
Defined in CDP.Domains.Cast | |
Show PCastStartTabMirroring Source # | |
Defined in CDP.Domains.Cast showsPrec :: Int -> PCastStartTabMirroring -> ShowS # show :: PCastStartTabMirroring -> String # showList :: [PCastStartTabMirroring] -> ShowS # | |
ToJSON PCastStartTabMirroring Source # | |
Defined in CDP.Domains.Cast toJSON :: PCastStartTabMirroring -> Value # toEncoding :: PCastStartTabMirroring -> Encoding # toJSONList :: [PCastStartTabMirroring] -> Value # | |
Command PCastStartTabMirroring Source # | |
Defined in CDP.Domains.Cast | |
type CommandResponse PCastStartTabMirroring Source # | |
Defined in CDP.Domains.Cast |
data PCastStartDesktopMirroring Source #
Starts mirroring the desktop to the sink.
Parameters of the startDesktopMirroring
command.
Instances
Eq PCastStartDesktopMirroring Source # | |
Defined in CDP.Domains.Cast | |
Show PCastStartDesktopMirroring Source # | |
Defined in CDP.Domains.Cast showsPrec :: Int -> PCastStartDesktopMirroring -> ShowS # show :: PCastStartDesktopMirroring -> String # showList :: [PCastStartDesktopMirroring] -> ShowS # | |
ToJSON PCastStartDesktopMirroring Source # | |
Defined in CDP.Domains.Cast | |
Command PCastStartDesktopMirroring Source # | |
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.
Instances
Eq PCastSetSinkToUse Source # | |
Defined in CDP.Domains.Cast (==) :: PCastSetSinkToUse -> PCastSetSinkToUse -> Bool # (/=) :: PCastSetSinkToUse -> PCastSetSinkToUse -> Bool # | |
Show PCastSetSinkToUse Source # | |
Defined in CDP.Domains.Cast showsPrec :: Int -> PCastSetSinkToUse -> ShowS # show :: PCastSetSinkToUse -> String # showList :: [PCastSetSinkToUse] -> ShowS # | |
ToJSON PCastSetSinkToUse Source # | |
Defined in CDP.Domains.Cast toJSON :: PCastSetSinkToUse -> Value # toEncoding :: PCastSetSinkToUse -> Encoding # toJSONList :: [PCastSetSinkToUse] -> Value # toEncodingList :: [PCastSetSinkToUse] -> Encoding # | |
Command PCastSetSinkToUse Source # | |
Defined in CDP.Domains.Cast | |
type CommandResponse PCastSetSinkToUse Source # | |
Defined in CDP.Domains.Cast |
data PCastDisable Source #
Stops observing for sinks and issues.
Parameters of the disable
command.
Instances
Eq PCastDisable Source # | |
Defined in CDP.Domains.Cast (==) :: PCastDisable -> PCastDisable -> Bool # (/=) :: PCastDisable -> PCastDisable -> Bool # | |
Show PCastDisable Source # | |
Defined in CDP.Domains.Cast showsPrec :: Int -> PCastDisable -> ShowS # show :: PCastDisable -> String # showList :: [PCastDisable] -> ShowS # | |
ToJSON PCastDisable Source # | |
Defined in CDP.Domains.Cast toJSON :: PCastDisable -> Value # toEncoding :: PCastDisable -> Encoding # toJSONList :: [PCastDisable] -> Value # toEncodingList :: [PCastDisable] -> Encoding # | |
Command PCastDisable Source # | |
Defined in CDP.Domains.Cast 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.
Instances
Eq PCastEnable Source # | |
Defined in CDP.Domains.Cast (==) :: PCastEnable -> PCastEnable -> Bool # (/=) :: PCastEnable -> PCastEnable -> Bool # | |
Show PCastEnable Source # | |
Defined in CDP.Domains.Cast showsPrec :: Int -> PCastEnable -> ShowS # show :: PCastEnable -> String # showList :: [PCastEnable] -> ShowS # | |
ToJSON PCastEnable Source # | |
Defined in CDP.Domains.Cast toJSON :: PCastEnable -> Value # toEncoding :: PCastEnable -> Encoding # toJSONList :: [PCastEnable] -> Value # toEncodingList :: [PCastEnable] -> Encoding # | |
Command PCastEnable Source # | |
Defined in CDP.Domains.Cast 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.
Instances
Eq CastIssueUpdated Source # | |
Defined in CDP.Domains.Cast (==) :: CastIssueUpdated -> CastIssueUpdated -> Bool # (/=) :: CastIssueUpdated -> CastIssueUpdated -> Bool # | |
Show CastIssueUpdated Source # | |
Defined in CDP.Domains.Cast showsPrec :: Int -> CastIssueUpdated -> ShowS # show :: CastIssueUpdated -> String # showList :: [CastIssueUpdated] -> ShowS # | |
FromJSON CastIssueUpdated Source # | |
Defined in CDP.Domains.Cast parseJSON :: Value -> Parser CastIssueUpdated # parseJSONList :: Value -> Parser [CastIssueUpdated] # | |
Event CastIssueUpdated Source # | |
Defined in CDP.Domains.Cast |
data CastSinksUpdated Source #
Type of the sinksUpdated
event.
Instances
Eq CastSinksUpdated Source # | |
Defined in CDP.Domains.Cast (==) :: CastSinksUpdated -> CastSinksUpdated -> Bool # (/=) :: CastSinksUpdated -> CastSinksUpdated -> Bool # | |
Show CastSinksUpdated Source # | |
Defined in CDP.Domains.Cast showsPrec :: Int -> CastSinksUpdated -> ShowS # show :: CastSinksUpdated -> String # showList :: [CastSinksUpdated] -> ShowS # | |
FromJSON CastSinksUpdated Source # | |
Defined in CDP.Domains.Cast parseJSON :: Value -> Parser CastSinksUpdated # parseJSONList :: Value -> Parser [CastSinksUpdated] # | |
Event CastSinksUpdated Source # | |
Defined in CDP.Domains.Cast |
Type Sink
.
CastSink | |
|