Vifrable
public protocol Vifrable
The main API declaring the available methods.
-
feedback(_:)
Default implementationBlocking call to play a single haptic.
Default Implementation
Blocking call to play a single haptic.
Declaration
Swift
static func feedback(_ type: Vifra)
Parameters
type
The type of haptic to play.
-
Blocking call to play multiple haptics.
Declaration
Swift
static func feedback(_ types: [Vifra])
Parameters
types
The types of haptic to play.