contentType
TypeScriptget contentType(): (_UniformTypeIdentifiers_UTType) | nullSwift declarationlet contentType: UTType?Content type of media.
struct · iOS 26.0+ · SDK 27.1
struct MediaStructure containing information about media in a card.
get contentType(): (_UniformTypeIdentifiers_UTType) | nullSwift declarationlet contentType: UTType?Content type of media.
get description(): (string) | nullSwift declarationlet description: String?Description of media.
get thumbnailURL(): (string) | nullSwift declarationlet thumbnailURL: URL?URL of thumbnail.
get displayHeight(): RCSService_Business_Card_Media_HeightSwift declarationlet displayHeight: RCSService.Business.Card.Media.HeightThe display height for media.
get thumbnailFileSize(): (_Foundation_Measurement<_Foundation_UnitInformationStorage>) | nullSwift declarationlet thumbnailFileSize: Measurement<UnitInformationStorage>?File size of thumbnail.
get thumbnailContentType(): (_UniformTypeIdentifiers_UTType) | nullSwift declarationlet thumbnailContentType: UTType?Content type of thumbnail.
get url(): stringSwift declarationlet url: URLURL of media.
get fileSize(): _Foundation_Measurement<_Foundation_UnitInformationStorage>Swift declarationlet fileSize: Measurement<UnitInformationStorage>File size of media.
No declarations were skipped in this snapshot.