incomingServiceUpdatePush(channelManager:channelUUID:pushPayload:isHighPriority:remainingHighPriorityBudget:completion:)
Extracts the service update data from the notification’s payload to perform the relevant task for that data.
Declaration
optional func incomingServiceUpdatePush(channelManager: PTChannelManager, channelUUID: UUID, pushPayload: [String : Any], isHighPriority: Bool, remainingHighPriorityBudget: Int, completion: @escaping @Sendable () -> Void)optional func incomingServiceUpdatePush(channelManager: PTChannelManager, channelUUID: UUID, pushPayload: [String : Any], isHighPriority: Bool, remainingHighPriorityBudget: Int) asyncParameters
- channelManager:
The channel manager.
- channelUUID:
The channel identifier.
- pushPayload:
The push payload metadata.
- isHighPriority:
A flag indicating if this notification is a high priority.
- remainingHighPriorityBudget:
Monitors the number of remaining high-priority push notifications available to your app. Use low-priority push notifications (priority <= 5) whenever possible, as they aren’t subject to a budget limit.
- completion:
Execute to inform the Push to Talk framework you’ve finished your task.