One Logo Pool Ball
Accessibility · IOS API REFERENCE

AttributeScopes.AccessibilityAttributes.AnnouncementPriorityAttribute

enum · iOS 17.0+ · SDK 27.1

@frozen enum AnnouncementPriorityAttribute

An attribute to define the urgency of the announcement. For example, when `low` is specified, announcements are queued and spoken when other speech utterances have completed. When `default` is specified, announcements will interrupt existing speech, but are interruptible if a new speech utterance is started. When `high` is specified, announcements will interrupt other speech and cannot be interrupted once started.

Members (4)

get · iOS 17.0+

markdownName

TypeScript
static get markdownName(): string
Swift declaration
static let markdownName: String

The Markdown name associated with an attributed string key.

static · iOS 17.0+

objectiveCValue

TypeScript
static objectiveCValue(value: AttributeScopes_AccessibilityAttributes_AnnouncementPriorityAttribute_AnnouncementPriority): _Foundation_NSString
Swift declaration
static func objectiveCValue(for value: AttributeScopes.AccessibilityAttributes.AnnouncementPriorityAttribute.AnnouncementPriority) throws -> NSString

Returns an Objective-C typed value for a given value of this key's type. - Parameter value: The value to convert. - Returns: `value`, expressed as the Objective-C type defined by ``ObjectiveCConvertibleAttributedStringKey/ObjectiveCValue``.

get · iOS 17.0+

name

TypeScript
static get nameValue(): string
Swift declaration
static var name: String { get }

The name of the key.

static · iOS 17.0+

value

TypeScript
static value(object: _Foundation_NSString): AttributeScopes_AccessibilityAttributes_AnnouncementPriorityAttribute_AnnouncementPriority
Swift declaration
static func value(for object: NSString) throws -> AttributeScopes.AccessibilityAttributes.AnnouncementPriorityAttribute.AnnouncementPriority

Returns a value of this key's type for a given Objective-C value. - Parameter object: The Objective-C value to convert. - Returns: `object`, expressed as this key's type.

Skipped declarations

No declarations were skipped in this snapshot.

All Accessibility types →