InAppSchemaData
Represents the proposition response object containing a in-app
schema.
iOS Interface
Copied to your clipboard@objc(AEPInAppSchemaData)@objcMemberspublic class InAppSchemaData: NSObject, Codable {/// Represents the content of the InAppSchemaData object. Its value's type is determined by `contentType`.public let content: Any/// Determines the value type of `content`.public let contentType: ContentType/// Date and time this in-app campaign was published represented as epoch secondspublic let publishedDate: Int?/// Date and time this in-app campaign will expire represented as epoch secondspublic let expiryDate: Int?/// Dictionary containing any additional meta data for this content cardpublic let meta: [String: Any]?/// Dictionary containing parameters that help control display and behavior of the in-app message on mobilepublic let mobileParameters: [String: Any]?/// Dictionary containing parameters that help control display and behavior of the in-app message on webpublic let webParameters: [String: Any]?/// Array of remote assets to be downloaded and cached for future use with the in-app messagepublic let remoteAssets: [String]?...}
Android Interface
Copied to your clipboardpublic class InAppSchemaData implements SchemaData {private Object content = null;private ContentType contentType = null;private int publishedDate = 0;private int expiryDate = 0;private Map<String, Object> meta = null;private Map<String, Object> mobileParameters = null;private Map<String, Object> webParameters = null;private List<String> remoteAssets = null;@Overridepublic Object getContent() { return content; }public ContentType getContentType() { return contentType; }public int getPublishedDate() { return publishedDate; }public int getExpiryDate() { return expiryDate; }@Nullable public Map<String, Object> getMeta() { return meta; }@Nullable public Map<String, Object> getMobileParameters() { return mobileParameters; }@Nullable public Map<String, Object> getWebParameters() { return webParameters; }@Nullable public List<String> getRemoteAssets() { return remoteAssets; }}