Module

AirConsole.Global

Package
purescript-airconsole
Repository
mckayb/purescript-airconsole

#getAirConsoleGlobalImpl Source

#onDisconnect Source

onDisconnect :: forall e2 a e. (DeviceId -> Eff e a) -> AirConsoleGlobal -> Eff e2 Unit

#onConnect Source

onConnect :: forall e2 a e. (DeviceId -> Eff e a) -> AirConsoleGlobal -> Eff e2 Unit

#onReady Source

onReady :: forall a e. (String -> Eff e a) -> AirConsoleGlobal -> Eff e Unit

#onMessage Source

onMessage :: forall e2 a e x. (DeviceId -> x -> Eff e a) -> AirConsoleGlobal -> Eff e2 Unit

#onCustomDeviceStateChange Source

onCustomDeviceStateChange :: forall e2 a e x. (DeviceId -> x -> Eff e a) -> AirConsoleGlobal -> Eff e2 Unit

#onDeviceStateChange Source

onDeviceStateChange :: forall e2 a e x. (DeviceId -> x -> Eff e a) -> AirConsoleGlobal -> Eff e2 Unit

#onDeviceProfileChange Source

onDeviceProfileChange :: forall e2 a e. (DeviceId -> Eff e a) -> AirConsoleGlobal -> Eff e2 Unit

#onEmailAddress Source

onEmailAddress :: forall e2 a e. (String -> Eff e a) -> AirConsoleGlobal -> Eff e2 Unit

#onActivePlayersChange Source

onActivePlayersChange :: forall e2 a e. (PlayerNumber -> Eff e a) -> AirConsoleGlobal -> Eff e2 Unit

#onDeviceMotion Source

onDeviceMotion :: forall e2 a e x. (x -> Eff e a) -> AirConsoleGlobal -> Eff e2 Unit

#onAdComplete Source

onAdComplete :: forall e2 a e. (Boolean -> Eff e a) -> AirConsoleGlobal -> Eff e2 Unit

#onAdShow Source

onAdShow :: forall e2 a e x. (x -> Eff e a) -> AirConsoleGlobal -> Eff e2 Unit

#onPersistentDataLoaded Source

onPersistentDataLoaded :: forall e2 a e x. (x -> Eff e a) -> AirConsoleGlobal -> Eff e2 Unit

#onPersistentDataStored Source

onPersistentDataStored :: forall e2 a e. (String -> Eff e a) -> AirConsoleGlobal -> Eff e2 Unit

#onHighScores Source

onHighScores :: forall e2 a e x. (Array x -> Eff e a) -> AirConsoleGlobal -> Eff e2 Unit

#onHighScoreStored Source

onHighScoreStored :: forall e2 a e x. (x -> Eff e a) -> AirConsoleGlobal -> Eff e2 Unit