NotificationCountResult
struct NotificationCountResult
The result of getOwnNotificationCount(with:success:failure:).
-
The ID of the person the count belongs to, if the server returned one.
Declaration
Swift
let personId: String? -
The total number of notifications for the person.
Declaration
Swift
let totalNotificationCount: Int -
Creates a new instance by decoding from the given decoder.
This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.
Declaration
Swift
init(from decoder: any Decoder) throws