Instance Property

analog

Returns a Boolean value that indicates whether the element provides analog data.

Declaration

@property(nonatomic, readonly, getter=isAnalog) BOOL analog;

Discussion

If the value is YES, then the value properties defined by the element subclass can return a range (from minimum to maximum) of possible values. For example, this element might be a pressure-sensitive button or an axis of a thumb stick that allows for a range of physical movement. If the value is NO, then the element’s value properties only provides discrete values, typically 0 if the element is off, and 1 if the element is on.

See Also

Inspecting Element Properties

collection

Returns the element that this element is part of.