APSPayload

object APSPayload
Companion:
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def background(badge: Option[Int], sound: Option[String], category: Option[String]): APSPayload
def full(payload: AlertPayload, badge: Option[Int], sound: Option[String], category: Option[String]): APSPayload
def simple(text: String, badge: Option[Int], sound: Option[String], category: Option[String]): APSPayload

Concrete fields

val Alert: String
val Badge: String
val Category: String
val ContentAvailable: String
val Sound: String
val ThreadId: String

Implicits

Implicits

implicit val af: Codec[Either[String, AlertPayload]]
implicit def eitherDecoder[A, B](implicit a: Decoder[A], b: Decoder[B]): Decoder[Either[A, B]]
implicit def eitherEncoder[A : Encoder, B : Encoder]: Encoder[Either[A, B]]
implicit val json: Codec[APSPayload]
implicit val payloadEncoder: Encoder[APSPayload]