AsyncAnnotationLoadingStrategy
public protocol AsyncAnnotationLoadingStrategy
Protocol which defines the data an asynchronous strategy needs to provide a [ScreenAnnotation]
-
associated type of this protocol needs to conform to
CardItemModel
andCodable
Declaration
Swift
associatedtype CardItem : CardItemModel, Decodable, Encodable
-
load screen annotations and guideImage asynchronously
Declaration
Swift
func load(with manager: ARManager, completionHandler: @escaping ([ScreenAnnotation<CardItem>], GuideImageState) -> Void) throws