Taptic Engine Support

How to get access to the taptic engine? Is the API available yet? I can't see any documentation yet.

Documentation doesn't seem to exist, but the headers are there. You need in WKInterfaceDevice.


func playHaptic(type: WKHapticType)


These are the types of Haptic available:

enum WKHapticType : Int {


case Notification

case DirectionUp

case DirectionDown

case Success

case Failure

case Retry

case Start

case Stop

case Click

}


WKInterfaceDevice().playHaptic(.Failure)

Taptic Engine Support
 
 
Q