duration The duration of the haptic pattern, in seconds. Declarationvar duration: TimeInterval { get }