schemaName
TypeScriptget schemaName(): stringSwift declaration@backDeployed(before: iOS 27.0, macOS 27.0, visionOS 27.0)
var schemaName: String { get set }A name that can be used to understand which type the content represents.
struct · iOS 26.0+ · SDK 27.1
struct StructuredSegmentA segment containing structured content.
get schemaName(): stringSwift declaration@backDeployed(before: iOS 27.0, macOS 27.0, visionOS 27.0)
var schemaName: String { get set }A name that can be used to understand which type the content represents.
set schemaName(value: string)Swift declaration@backDeployed(before: iOS 27.0, macOS 27.0, visionOS 27.0)
var schemaName: String { get set }A name that can be used to understand which type the content represents.
get description(): stringSwift declarationvar description: String { get }A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.
static initIdSchemaNameContent(id: string, schemaName: string, content: GeneratedContent): Transcript_StructuredSegmentSwift declarationinit(id: String = UUID().uuidString, schemaName: String, content: GeneratedContent)static initIdSourceContent(id: string, source: string, content: GeneratedContent): Transcript_StructuredSegmentSwift declarationinit(id: String = UUID().uuidString, source: String, content: GeneratedContent)get id(): stringSwift declarationvar id: StringThe stable identity of the entity associated with this instance.
set id(value: string)Swift declarationvar id: StringThe stable identity of the entity associated with this instance.
get source(): stringSwift declarationvar source: StringA source that can be used to understand which type the content represents.
set source(value: string)Swift declarationvar source: StringA source that can be used to understand which type the content represents.
get content(): GeneratedContentSwift declarationvar content: GeneratedContent { get set }The content of the segment.
set content(value: GeneratedContent)Swift declarationvar content: GeneratedContent { get set }The content of the segment.
No declarations were skipped in this snapshot.