Show / Hide Table of Contents

Enum ImpactTypeFeedback

A concrete UIFeedbackGenerator subclass that creates haptics to simulate physical impacts. iOS 10+ https://developer.apple.com/documentation/uikit/uiimpactfeedbackgenerator

Namespace: ImpulseVibrations
Assembly: Assembly-CSharp.dll
Syntax
public enum ImpactTypeFeedback

Fields

Name Description
IMPACT_HEAVY

The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object. A collision between large, heavy user interface elements. iOS 10+ https://developer.apple.com/documentation/uikit/uiimpactfeedbackgenerator/feedbackstyle

IMPACT_LIGHT

The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object. A collision between small, light user interface elements. iOS 10+ https://developer.apple.com/documentation/uikit/uiimpactfeedbackgenerator/feedbackstyle

IMPACT_MEDIUM

The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object. A collision between moderately sized user interface elements. iOS 10+ https://developer.apple.com/documentation/uikit/uiimpactfeedbackgenerator/feedbackstyle

IMPACT_RIGID

The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object. iOS 13+ https://developer.apple.com/documentation/uikit/uiimpactfeedbackgenerator/feedbackstyle

IMPACT_SOFT

The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object. iOS 13+ https://developer.apple.com/documentation/uikit/uiimpactfeedbackgenerator/feedbackstyle

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX