Share via


ICHHapticPatternPlayer Interface

Definition

This interface represents the Objective-C protocol CHHapticPatternPlayer.

[Foundation.Protocol(Name="CHHapticPatternPlayer", WrapperType=typeof(CoreHaptics.CHHapticPatternPlayerWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Start", ParameterByRef=new System.Boolean[] { false, true }, ParameterType=new System.Type[] { typeof(System.Double), typeof(Foundation.NSError) }, ReturnType=typeof(System.Boolean), Selector="startAtTime:error:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Stop", ParameterByRef=new System.Boolean[] { false, true }, ParameterType=new System.Type[] { typeof(System.Double), typeof(Foundation.NSError) }, ReturnType=typeof(System.Boolean), Selector="stopAtTime:error:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Send", ParameterByRef=new System.Boolean[] { false, false, true }, ParameterType=new System.Type[] { typeof(CoreHaptics.CHHapticDynamicParameter[]), typeof(System.Double), typeof(Foundation.NSError) }, ReturnType=typeof(System.Boolean), Selector="sendParameters:atTime:error:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Schedule", ParameterByRef=new System.Boolean[] { false, false, true }, ParameterType=new System.Type[] { typeof(CoreHaptics.CHHapticParameterCurve), typeof(System.Double), typeof(Foundation.NSError) }, ReturnType=typeof(System.Boolean), Selector="scheduleParameterCurve:atTime:error:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Cancel", ParameterByRef=new System.Boolean[] { true }, ParameterType=new System.Type[] { typeof(Foundation.NSError) }, ReturnType=typeof(System.Boolean), Selector="cancelAndReturnError:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isMuted", IsProperty=true, IsRequired=true, IsStatic=false, Name="IsMuted", PropertyType=typeof(System.Boolean), Selector="isMuted", SetterSelector="setIsMuted:")]
public interface ICHHapticPatternPlayer : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="CHHapticPatternPlayer", WrapperType=typeof(CoreHaptics.CHHapticPatternPlayerWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Start", ParameterByRef=new System.Boolean[] { false, true }, ParameterType=new System.Type[] { typeof(System.Double), typeof(Foundation.NSError) }, ReturnType=typeof(System.Boolean), Selector="startAtTime:error:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Stop", ParameterByRef=new System.Boolean[] { false, true }, ParameterType=new System.Type[] { typeof(System.Double), typeof(Foundation.NSError) }, ReturnType=typeof(System.Boolean), Selector="stopAtTime:error:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Send", ParameterByRef=new System.Boolean[] { false, false, true }, ParameterType=new System.Type[] { typeof(CoreHaptics.CHHapticDynamicParameter[]), typeof(System.Double), typeof(Foundation.NSError) }, ReturnType=typeof(System.Boolean), Selector="sendParameters:atTime:error:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Schedule", ParameterByRef=new System.Boolean[] { false, false, true }, ParameterType=new System.Type[] { typeof(CoreHaptics.CHHapticParameterCurve), typeof(System.Double), typeof(Foundation.NSError) }, ReturnType=typeof(System.Boolean), Selector="scheduleParameterCurve:atTime:error:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Cancel", ParameterByRef=new System.Boolean[] { true }, ParameterType=new System.Type[] { typeof(Foundation.NSError) }, ReturnType=typeof(System.Boolean), Selector="cancelAndReturnError:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isMuted", IsProperty=true, IsRequired=true, IsStatic=false, Name="IsMuted", PropertyType=typeof(System.Boolean), Selector="isMuted", SetterSelector="setIsMuted:")>]
type ICHHapticPatternPlayer = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
IsMuted

Methods

Name Description
Cancel(NSError)
Schedule(CHHapticParameterCurve, Double, NSError)
Send(CHHapticDynamicParameter[], Double, NSError)
Start(Double, NSError)
Stop(Double, NSError)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to