com.malliina.push.mpns

Type members

Classlikes

case class CycleTile(smallBackgroundImage: String, cycleImage1: String, cycleImage2: String, cycleImage3: String, cycleImage4: String, cycleImage5: String, cycleImage6: String, cycleImage7: String, cycleImage8: String, cycleImage9: String, count: Int, title: String) extends TileMessage
case class FlipData(smallBackgroundImage: String, wideBackgroundImage: String, wideBackBackgroundImage: String, wideBackContent: String, tile: TileData) extends TileMessage
case class IconicData(smallIconImage: String, iconImage: String, wideContent1: String, wideContent2: String, wideContent3: String, count: Int, title: String, backgroundColor: String) extends TileMessage
class MPNSClient(http: HttpClient[Future], ec: ExecutionContext) extends WindowsClient[MPNSToken, WindowsMessage]
Companion:
object
object MPNSClient
Companion:
class

Do not automatically format this file.

Do not automatically format this file.

final case class MPNSToken(token: String) extends AnyVal with Token
Companion:
object
Companion:
class
case class PushUrl(url: MPNSToken, silent: Boolean, tag: String)

The same device may open different push URLs at different points in time, however the old ones still work until the channel is closed, it seems. We only accept one push URL per device however, otherwise the same push notification is sent multiple times to the same device. Therefore we need another way of uniquely identifying a device, and that is the tag.

The same device may open different push URLs at different points in time, however the old ones still work until the channel is closed, it seems. We only accept one push URL per device however, otherwise the same push notification is sent multiple times to the same device. Therefore we need another way of uniquely identifying a device, and that is the tag.

Value parameters:
silent

true for a silent notification, otherwise false

tag

tag that IDs the device

url

device token

Companion:
object
object PushUrl
Companion:
class
case class TileData(backgroundImage: String, count: Int, title: String, backBackgroundImage: String, backTitle: String, backContent: String) extends TileMessage
case class ToastMessage(text1: String, text2: String, deepLink: String, silent: Boolean) extends WindowsMessage