Instance Property

maxLength

The maximum number of UTF-8 characters allowed in a characteristic that uses a string format.

Declaration

@property(readonly, nonatomic) NSNumber *maxLength;

Discussion

This value only applies to characteristics with a string type.

See Also

Bounding the Value

validValues

The subset of valid values supported by the characteristic when the format is of type unsigned integer.

minimumValue

The minimum value for the characteristic.

maximumValue

The maximum value for the characteristic.

stepValue

The minimum interval between values for the characteristic.