DMSResolvedContentItem


@interface DMSResolvedContentItem : NSObject

Represents one item of resolved content. Resolved content can contain more than one item. For example, a package may contain two different user experiences. Each item can contain a different set of properties.

  • Optional text to display in the UI such as a list or summary. If this is not defined in the Digimarc Barcode Manager, a synthesized title based on the payload value may be provided.

    Declaration

    Objective-C

    @property (nonatomic, retain, readonly, nullable) NSString *title;

    Swift

    var title: String? { get }
  • Optional text to display additional information in the UI such as a list or summary. If this is not defined in the Digimarc Barcode Manager, a synthesized title based on the payload value may be provided.

    Declaration

    Objective-C

    @property (nonatomic, retain, readonly, nullable) NSString *subtitle;

    Swift

    var subtitle: String? { get }
  • Optional URL for an image associated with the resolved content. If not defined in the Digimarc Barcode Manager, this field will be nil.

    Declaration

    Objective-C

    @property (nonatomic, retain, readonly, nullable) NSURL *thumbnailURL;

    Swift

    var thumbnailURL: URL? { get }
  • URL

    Optional content URL associated with this resolved content. If this field is not defined in the Digimarc Barcode Manager, a synthesized generic Google search URL may be provided. If no appropriate URL can be provided, this field may be nil. This field may also contain a URL with a custom scheme. Information on using URL schemes to communicate with apps can be found at https://developer.apple.com/library/content/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Inter-AppCommunication/Inter-AppCommunication.html#//apple_ref/doc/uid/TP40007072-CH6-SW1.

    Declaration

    Objective-C

    @property (nonatomic, retain, readonly, nullable) NSURL *URL;

    Swift

    var url: URL? { get }
  • Unique token for reporting UI viewing of this payoff content back to the Digimarc Barcode Manager via the resolver’s reportAction fuction.

    Declaration

    Objective-C

    @property (nonatomic, retain, readonly, nullable) NSString *actionToken;

    Swift

    var actionToken: String? { get }
  • Returns true if the content is not active on the Digimarc backend, and this content item is a placeholder item.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL contentInactive;

    Swift

    var contentInactive: Bool { get }
  • Indicates whether or not the content was dynamically generated by the resolver. If true, implies that the resolver could not find matching content to service the request, so it generated content to try to fulfill the request.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL synthesizedContent;

    Swift

    var synthesizedContent: Bool { get }
  • The category associated with the resolver content item.

    Declaration

    Objective-C

    @property (nonatomic, readonly) DMSResolvedContentItemCategory category;

    Swift

    var category: ResolvedContentItemCategory { get }
  • The payload associated with the resolved content item.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) DMSPayload *payload;

    Swift

    var payload: Payload { get }