Share via


IUIPreviewInteractionDelegate Interface

Definition

Delegate object for UIPreviewInteraction objects, providing methods that are called during a 3D touch interaction.

[Foundation.Protocol(Name="UIPreviewInteractionDelegate", WrapperType=typeof(UIKit.UIPreviewInteractionDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidUpdatePreviewTransition", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIPreviewInteraction), typeof(System.Runtime.InteropServices.NFloat), typeof(System.Boolean) }, Selector="previewInteraction:didUpdatePreviewTransition:ended:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidCancel", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIPreviewInteraction) }, Selector="previewInteractionDidCancel:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBegin", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIPreviewInteraction) }, ReturnType=typeof(System.Boolean), Selector="previewInteractionShouldBegin:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidUpdateCommit", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIPreviewInteraction), typeof(System.Runtime.InteropServices.NFloat), typeof(System.Boolean) }, Selector="previewInteraction:didUpdateCommitTransition:ended:")]
public interface IUIPreviewInteractionDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UIPreviewInteractionDelegate", WrapperType=typeof(UIKit.UIPreviewInteractionDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidUpdatePreviewTransition", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIPreviewInteraction), typeof(System.Runtime.InteropServices.NFloat), typeof(System.Boolean) }, Selector="previewInteraction:didUpdatePreviewTransition:ended:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidCancel", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIPreviewInteraction) }, Selector="previewInteractionDidCancel:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBegin", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIPreviewInteraction) }, ReturnType=typeof(System.Boolean), Selector="previewInteractionShouldBegin:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidUpdateCommit", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIPreviewInteraction), typeof(System.Runtime.InteropServices.NFloat), typeof(System.Boolean) }, Selector="previewInteraction:didUpdateCommitTransition:ended:")>]
type IUIPreviewInteractionDelegate = 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
DidCancel(UIPreviewInteraction)
DidUpdateCommit(UIPreviewInteraction, NFloat, Boolean)

The system calls this method repeatedly during the commit phase of a preview interaction.

DidUpdatePreviewTransition(UIPreviewInteraction, NFloat, Boolean)
ShouldBegin(UIPreviewInteraction)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
DidUpdateCommit(IUIPreviewInteractionDelegate, UIPreviewInteraction, NFloat, Boolean)

The system calls this method repeatedly during the commit phase of a preview interaction.

ShouldBegin(IUIPreviewInteractionDelegate, UIPreviewInteraction)

Applies to

See also