One Logo Pool Ball
AuthenticationServices · IOS API REFERENCE

ASImportableCollection

struct · iOS 26.0+ · SDK 27.1

struct ASImportableCollection

A representation of Collection 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 Collection to initialize an instance of this struct. If you choose to do so, you will need to set the icon after creating the object. Collection represents a group of items such as a vault or folder.

Members (15)

get · iOS 26.0+

lastModified

TypeScript
get lastModified(): (globalThis.Date) | null
Swift declaration
var lastModified: Date?

The date and time when the collection was last modified.

set · iOS 26.0+

lastModified

TypeScript
set lastModified(value: (globalThis.Date) | null)
Swift declaration
var lastModified: Date?

The date and time when the collection was last modified.

get · iOS 26.0+

subcollections

TypeScript
get subcollections(): Array<ASImportableCollection>
Swift declaration
var subcollections: [ASImportableCollection]

Subcollections that are part of this collection.

set · iOS 26.0+

subcollections

TypeScript
set subcollections(value: Array<ASImportableCollection>)
Swift declaration
var subcollections: [ASImportableCollection]

Subcollections that are part of this collection.

get · iOS 26.0+

id

TypeScript
get id(): ArrayBuffer
Swift declaration
var id: Data

A unique identifier for this collection. Not displayed to the user.

set · iOS 26.0+

id

TypeScript
set id(value: ArrayBuffer)
Swift declaration
var id: Data

A unique identifier for this collection. Not displayed to the user.

init · iOS 26.0+

init

TypeScript
static init(id: ArrayBuffer, created: (globalThis.Date) | null, lastModified: (globalThis.Date) | null, title: string, subtitle: (string) | null, items: Array<ASImportableLinkedItem>, subcollections?: Array<ASImportableCollection>): ASImportableCollection
Swift declaration
init(id: Data, created: Date?, lastModified: Date?, title: String, subtitle: String? = nil, items: [ASImportableLinkedItem], subcollections: [ASImportableCollection] = [])
get · iOS 26.0+

items

TypeScript
get items(): Array<ASImportableLinkedItem>
Swift declaration
var items: [ASImportableLinkedItem]

The items that are part of this collection.

set · iOS 26.0+

items

TypeScript
set items(value: Array<ASImportableLinkedItem>)
Swift declaration
var items: [ASImportableLinkedItem]

The items that are part of this collection.

get · iOS 26.0+

title

TypeScript
get title(): string
Swift declaration
var title: String

The title of this collection.

set · iOS 26.0+

title

TypeScript
set title(value: string)
Swift declaration
var title: String

The title of this collection.

get · iOS 26.0+

created

TypeScript
get created(): (globalThis.Date) | null
Swift declaration
var created: Date?

The date and time when the collection was created.

set · iOS 26.0+

created

TypeScript
set created(value: (globalThis.Date) | null)
Swift declaration
var created: Date?

The date and time when the collection was created.

get · iOS 26.0+

subtitle

TypeScript
get subtitle(): (string) | null
Swift declaration
var subtitle: String?

Optional: The subtitle of this collection.

set · iOS 26.0+

subtitle

TypeScript
set subtitle(value: (string) | null)
Swift declaration
var subtitle: String?

Optional: The subtitle of this collection.

Skipped declarations

No declarations were skipped in this snapshot.

All AuthenticationServices types →