pub unsafe trait CHHapticParameterAttributes: NSObjectProtocol {
// Provided methods
unsafe fn minValue(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn maxValue(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn defaultValue(&self) -> c_float
where Self: Sized + Message { ... }
}Available on crate feature
CHHapticDeviceCapability only.Expand description
A protocol for querying mininum, maximum, and default values for a CHHapticEventParameter or CHHapticDynamicParameter.
See also Apple’s documentation
Provided Methods§
Sourceunsafe fn defaultValue(&self) -> c_float
unsafe fn defaultValue(&self) -> c_float
The default value for the parameter.