themeColor
TypeScriptget themeColor(): (_CoreGraphics_CGColor) | nullSwift declarationvar themeColor: CGColor? { get }Theme color to apply to conversation view.
struct · iOS 26.0+ · SDK 27.1
struct BusinessStructure containing details about a business. This structure and its supporting types correspond to the "chatbot" JSON schemas defined by the RCS specification. To get information about a business, use the ``CellularServiceID`` and ``RCSHandle`` from an ``RCSMessage`` you receive in the RCS service's ``incomingMessageNotifications``, then call ``businessInformation(for:)`` on the RCS service, which returns an instance of the `Business` type. Your app receives ``Business/Card`` and ``Business/CardCarousel`` instances as cases of the ``RCSMessage/Content`` enumeration in messages received from the RCS service's ``RCSService/incomingMessageNotifications`` asynchronous sequence. Use the properties of the received cards to display content sent from the business to the person using your app. An ``RCSService/IncomingMessageNotification`` instance may contain ``RCSService/Business/Suggestion`` instances in its ``RCSService/IncomingMessageNotification/suggestions`` array. These suggestions can include a ``RCSService/Business/SuggestedAction`` or a ``RCSService/Business/SuggestedReply``. Act on these, then call ``RCSService/sendSuggestionResponse(_:)`` on the RCS service.
get themeColor(): (_CoreGraphics_CGColor) | nullSwift declarationvar themeColor: CGColor? { get }Theme color to apply to conversation view.
get websiteURL(): (string) | nullSwift declarationlet websiteURL: URL?URL for business' website.
get description(): (string) | nullSwift declarationlet description: String?Description for business.
get capabilities(): (RCSService_Business_Capabilities) | nullSwift declarationlet capabilities: RCSService.Business.Capabilities?get emailAddress(): (string) | nullSwift declarationlet emailAddress: String?Service email address.
get mediaEntries(): Array<RCSService_Business_MediaEntry>Swift declarationlet mediaEntries: [RCSService.Business.MediaEntry]Media entries provided by business.
get providerName(): (string) | nullSwift declarationlet providerName: String?Name of business provider.
get categoryNames(): Array<string>Swift declarationlet categoryNames: [String]Array of category names which can be used to filter a list of businesses.
get addressEntries(): Array<RCSService_Business_AddressEntry>Swift declarationlet addressEntries: [RCSService.Business.AddressEntry]Array of business' address locations.
get persistentMenu(): (RCSService_Business_Menu) | nullSwift declarationlet persistentMenu: RCSService.Business.Menu?Persistent menu with a nested collection of suggested replies and suggested actions.
get welcomeMessage(): (RCSService_Business_WelcomeMessage) | nullSwift declarationlet welcomeMessage: RCSService.Business.WelcomeMessage?get organizationNames(): Array<RCSService_Business_OrganizationName>Swift declarationlet organizationNames: [RCSService.Business.OrganizationName]Array of names specified by business.
get backgroundImageURL(): (string) | nullSwift declarationlet backgroundImageURL: URL?Background image to apply to business information page.
get verificationDetails(): (RCSService_Business_VerificationDetails) | nullSwift declarationlet verificationDetails: RCSService.Business.VerificationDetails?Verification information about business.
get communicationAddress(): (RCSService_Business_CommunicationAddress) | nullSwift declarationlet communicationAddress: RCSService.Business.CommunicationAddress?Communication details of business.
get styleSheetTemplateURL(): (string) | nullSwift declarationlet styleSheetTemplateURL: URL?URL referring to a CSS template to be used in rich cards sent by business.
get termsAndConditionsURL(): (string) | nullSwift declarationlet termsAndConditionsURL: URL?URL for business' terms and conditions.
get version(): (string) | nullSwift declarationlet version: String?Version of contents.
No declarations were skipped in this snapshot.