Package org.robovm.apple.corehaptic
Interface CHHapticPatternPlayer
- All Superinterfaces:
NSObjectProtocol,ObjCProtocol
- All Known Subinterfaces:
CHHapticAdvancedPatternPlayer
- All Known Implementing Classes:
CHHapticAdvancedPatternPlayerAdapter,CHHapticPatternPlayerAdapter
public interface CHHapticPatternPlayer extends NSObjectProtocol
- Since:
- Available in iOS 13.0 and later.
-
Method Summary
Modifier and Type Method Description booleancancelAndReturnError(NSError.NSErrorPtr outError)booleanisMuted()booleanscheduleParameterCurve(CHHapticParameterCurve parameterCurve, double time, NSError.NSErrorPtr outError)booleansendParameters(NSArray<CHHapticDynamicParameter> parameters, double time, NSError.NSErrorPtr outError)voidsetIsMuted(boolean v)booleanstart(double time, NSError.NSErrorPtr outError)booleanstop(double time, NSError.NSErrorPtr outError)
-
Method Details
-
isMuted
boolean isMuted() -
setIsMuted
void setIsMuted(boolean v) -
start
-
stop
-
sendParameters
boolean sendParameters(NSArray<CHHapticDynamicParameter> parameters, double time, NSError.NSErrorPtr outError) -
scheduleParameterCurve
boolean scheduleParameterCurve(CHHapticParameterCurve parameterCurve, double time, NSError.NSErrorPtr outError) -
cancelAndReturnError
-