Represents setting as its kind and fixed array of possible string values.
More...
#import <DeviceSetting.h>
Represents setting as its kind and fixed array of possible string values.
You can get current selected value by using getValue or valueIndex and set value by using selectValueWithIndex::}
◆ getValue()
Get string representation of the currently selected value.
◆ selectValueWithIndex:error:()
- (BOOL) selectValueWithIndex: |
|
(NSNumber *_Nonnull) |
index |
error: |
|
(NSError *_Nullable *_Nullable) |
error |
|
|
| |
Select variant from values array.
- Exceptions
-
MedMDeviceKitException | possible codes: DeviceKitUnsupportedOperation, DeviceKitIndexOutOfBounds |
◆ isReadonly
Is this setting readonly, usually means that you can set this setting only before adding.
If true calling selectValueWithIndex:error: would result in exception.
◆ kind
◆ valueIndex
Get current setting value position in values array.
◆ values
- (NSArray<NSString*>*) values |
|
readnonatomicretain |
Get possible device setting variants.
The array is fixed for the specific setting instance.
The documentation for this class was generated from the following files: