Models
-
Protocol to be implemented by a model to represent an AR annotation card
Declaration
Swift
public protocol CardItemModel : ActionContentComponent, ActionTextComponent, DetailImageComponent, IconComponent, PositionComponent, SubtitleComponent, TitleComponent, Equatable, Identifiable -
A concrete type of
See moreCardItemModelwhich conforms toCodable. Used for card authoring scenaDeclaration
Swift
public struct CodableCardItem : CardItemModel, Codable -
Wrapper struct for the CardItem :
See moreCardItemModel, MarkerState, and the entity which backs real world position of the marker.Declaration
Swift
public struct ScreenAnnotation<CardItem> : Identifiable, Equatable where CardItem : CardItemModel -
Namespace for Marker Control State
See moreDeclaration
Swift
public struct MarkerControl -
Representing the detail/cover image of a carda
See moreDeclaration
Swift
public struct CardImage : Equatable, Codable