| 41 | } |
| 42 | |
| 43 | type 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 | |
| 63 | type alert struct { |
| 64 | Action string `json:"action,omitempty"` |
nothing calls this directly
no outgoing calls
no test coverage detected