Vifra
public enum Vifra
The main API declaring the different haptic types.
-
A weak haptic.
Declaration
Swift
case weak
-
A medium haptic.
Declaration
Swift
case medium
-
A strong haptic.
Declaration
Swift
case strong
-
A delay between haptics (after each successful haptic a min delay of 8500 usec is enforced).
Declaration
Swift
case delay(usec: UInt32)
-
Blocking call to play multiple haptics.
Declaration
Swift
public static func feedback(_ types: [Vifra])
Parameters
types
The types of haptic to play.