MCPcopy
hub / github.com/sideshow/apns2 / aps

Struct aps

payload/builder.go:43–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43type aps struct {
44 Alert interface{} `json:"alert,omitempty"`
45 Badge interface{} `json:"badge,omitempty"`
46 Category string `json:"category,omitempty"`
47 ContentAvailable int `json:"content-available,omitempty"`
48 InterruptionLevel EInterruptionLevel `json:"interruption-level,omitempty"`
49 MutableContent int `json:"mutable-content,omitempty"`
50 RelevanceScore interface{} `json:"relevance-score,omitempty"`
51 Sound interface{} `json:"sound,omitempty"`
52 ThreadID string `json:"thread-id,omitempty"`
53 URLArgs []string `json:"url-args,omitempty"`
54 ContentState map[string]interface{} `json:"content-state,omitempty"`
55 DismissalDate int64 `json:"dismissal-date,omitempty"`
56 StaleDate int64 `json:"stale-date,omitempty"`
57 Event ELiveActivityEvent `json:"event,omitempty"`
58 Timestamp int64 `json:"timestamp,omitempty"`
59 AttributesType string `json:"attributes-type,omitempty"`
60 Attributes map[string]interface{} `json:"attributes,omitempty"`
61}
62
63type alert struct {
64 Action string `json:"action,omitempty"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected