id
TypeScriptget id(): (ArrayBuffer) | nullSwift declarationvar id: Data?A unique identifier for this EditableField. Not displayed to the user.
struct · iOS 26.0+ · SDK 27.1
struct ASImportableEditableFieldA representation of EditableField as defined in the [Credential Exchange Format (CXF) specs](https://fidoalliance.org/specs/cx/cxf-v1.0-rd-20250313.html) You can supply a JSON representation of a CXF EditableField to initialize an instance of this struct. EditableField represents a field within a Credential that is editable by the user, for example the user name or password.
get id(): (ArrayBuffer) | nullSwift declarationvar id: Data?A unique identifier for this EditableField. Not displayed to the user.
set id(value: (ArrayBuffer) | null)Swift declarationvar id: Data?A unique identifier for this EditableField. Not displayed to the user.
static init(id: (ArrayBuffer) | null, fieldType: ASImportableEditableField_FieldType, value: string, label?: (string) | null): ASImportableEditableFieldSwift declarationinit(id: Data?, fieldType: ASImportableEditableField.FieldType, value: String, label: String? = nil)get label(): (string) | nullSwift declarationvar label: String?Optional: A user facing value describing the field. May be user-defined.
set label(value: (string) | null)Swift declarationvar label: String?Optional: A user facing value describing the field. May be user-defined.
get value(): stringSwift declarationvar value: StringThe value stored in this EditableField.
set value(value: string)Swift declarationvar value: StringThe value stored in this EditableField.
get fieldType(): ASImportableEditableField_FieldTypeSwift declarationvar fieldType: ASImportableEditableField.FieldTypeThe type of this EditableField. This determines how to interpret the `value` property.
set fieldType(value: ASImportableEditableField_FieldType)Swift declarationvar fieldType: ASImportableEditableField.FieldTypeThe type of this EditableField. This determines how to interpret the `value` property.
No declarations were skipped in this snapshot.