Instance Method

attributes(forDynamicParameter:)

Requests the haptic device's attributes for a dynamic parameter.

Required.

Declaration

func attributes(forDynamicParameter inParameter: CHHapticDynamicParameter.ID) throws -> CHHapticParameterAttributes

Parameters

inParameter

The dynamic parameter ID whose attributes you seek.

outError

Any error that occurred during attribute fetching, or nil if no error occurred.

Return Value

The haptic device's attributes for the given dynamic parameter ID.

See Also

Determining Supported Parameters