Upravit

Sdílet prostřednictvím


PushKit Namespace

The PushKit namespace provides energy-efficient registration for VoIP notifications.

Classes

PKPushCredentials

Holds the Token that holds the user's credentials.

PKPushPayload

Contains a dictionary of data for a push operation.

PKPushRegistry

Allows the developer to register for remote pushes.

PKPushRegistryDelegate

Completion handler for registering a push operation.

PKPushRegistryDelegate_Extensions

Extension methods to the IPKPushRegistryDelegate interface to support all the methods from the PKPushRegistryDelegate protocol.

PKPushType

Holds the transports available for Push Kit (currently only Voice Over IP).

Interfaces

IPKPushRegistryDelegate

Interface representing the required methods (if any) of the protocol PKPushRegistryDelegate.

Remarks

Push Kit, added in iOS 8, provides energy-efficient registration for Voice over IP notifications. There is no need to maintain a persistent connection to the server.

Applications that are registered to receive VoIP notifications with Push Kit will be automatically relaunched as necessary.