Share via


IPKPushRegistryDelegate Interface

Definition

Completion handler for registering a push operation.

[Foundation.Protocol(Name="PKPushRegistryDelegate", WrapperType=typeof(PushKit.PKPushRegistryDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidUpdatePushCredentials", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(PushKit.PKPushRegistry), typeof(PushKit.PKPushCredentials), typeof(System.String) }, Selector="pushRegistry:didUpdatePushCredentials:forType:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidReceiveIncomingPush", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(PushKit.PKPushRegistry), typeof(PushKit.PKPushPayload), typeof(System.String) }, Selector="pushRegistry:didReceiveIncomingPushWithPayload:forType:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidReceiveIncomingPush", ParameterBlockProxy=new System.Type[] { null, null, null, typeof(ObjCRuntime.Trampolines+NIDAction) }, ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(PushKit.PKPushRegistry), typeof(PushKit.PKPushPayload), typeof(System.String), typeof(System.Action) }, Selector="pushRegistry:didReceiveIncomingPushWithPayload:forType:withCompletionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidInvalidatePushToken", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(PushKit.PKPushRegistry), typeof(System.String) }, Selector="pushRegistry:didInvalidatePushTokenForType:")]
public interface IPKPushRegistryDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="PKPushRegistryDelegate", WrapperType=typeof(PushKit.PKPushRegistryDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidUpdatePushCredentials", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(PushKit.PKPushRegistry), typeof(PushKit.PKPushCredentials), typeof(System.String) }, Selector="pushRegistry:didUpdatePushCredentials:forType:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidReceiveIncomingPush", ParameterBlockProxy=new System.Type[] { null, null, null, typeof(ObjCRuntime.Trampolines+NIDAction) }, ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(PushKit.PKPushRegistry), typeof(PushKit.PKPushPayload), typeof(System.String), typeof(System.Action) }, Selector="pushRegistry:didReceiveIncomingPushWithPayload:forType:withCompletionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidInvalidatePushToken", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(PushKit.PKPushRegistry), typeof(System.String) }, Selector="pushRegistry:didInvalidatePushTokenForType:")]
public interface IPKPushRegistryDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="PKPushRegistryDelegate", WrapperType=typeof(PushKit.PKPushRegistryDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidUpdatePushCredentials", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(PushKit.PKPushRegistry), typeof(PushKit.PKPushCredentials), typeof(System.String) }, Selector="pushRegistry:didUpdatePushCredentials:forType:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidReceiveIncomingPush", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(PushKit.PKPushRegistry), typeof(PushKit.PKPushPayload), typeof(System.String) }, Selector="pushRegistry:didReceiveIncomingPushWithPayload:forType:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidReceiveIncomingPush", ParameterBlockProxy=new System.Type[] { null, null, null, typeof(ObjCRuntime.Trampolines+NIDAction) }, ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(PushKit.PKPushRegistry), typeof(PushKit.PKPushPayload), typeof(System.String), typeof(System.Action) }, Selector="pushRegistry:didReceiveIncomingPushWithPayload:forType:withCompletionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidInvalidatePushToken", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(PushKit.PKPushRegistry), typeof(System.String) }, Selector="pushRegistry:didInvalidatePushTokenForType:")>]
type IPKPushRegistryDelegate = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="PKPushRegistryDelegate", WrapperType=typeof(PushKit.PKPushRegistryDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidUpdatePushCredentials", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(PushKit.PKPushRegistry), typeof(PushKit.PKPushCredentials), typeof(System.String) }, Selector="pushRegistry:didUpdatePushCredentials:forType:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidReceiveIncomingPush", ParameterBlockProxy=new System.Type[] { null, null, null, typeof(ObjCRuntime.Trampolines+NIDAction) }, ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(PushKit.PKPushRegistry), typeof(PushKit.PKPushPayload), typeof(System.String), typeof(System.Action) }, Selector="pushRegistry:didReceiveIncomingPushWithPayload:forType:withCompletionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidInvalidatePushToken", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(PushKit.PKPushRegistry), typeof(System.String) }, Selector="pushRegistry:didInvalidatePushTokenForType:")>]
type IPKPushRegistryDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
DidInvalidatePushToken(PKPushRegistry, String)
DidReceiveIncomingPush(PKPushRegistry, PKPushPayload, String, Action)
DidReceiveIncomingPush(PKPushRegistry, PKPushPayload, String)

Developers should not use this deprecated method. Developers should use the 'DidReceiveIncomingPushWithPayload' overload accepting an 'Action' argument instead.

DidUpdatePushCredentials(PKPushRegistry, PKPushCredentials, String)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
DidInvalidatePushToken(IPKPushRegistryDelegate, PKPushRegistry, String)
DidReceiveIncomingPush(IPKPushRegistryDelegate, PKPushRegistry, PKPushPayload, String, Action)
DidReceiveIncomingPush(IPKPushRegistryDelegate, PKPushRegistry, PKPushPayload, String)

Developers should not use this deprecated method. Developers should use the 'DidReceiveIncomingPushWithPayload' overload accepting an 'Action' argument instead.

Applies to

See also