MoEngageProperties
@objc
public class MoEngageProperties : NSObject, CodableClass responsible to build attributes for event
- 
                  
                  Create MoEngagePropertiesinstance with given attributedDictDeclarationSwift @objc public init(withAttributes attributesDict: [String : Any]? = nil)ParametersattributesDictattributes dict for the event 
- 
                  
                  Add an attribute to MoEngagePropertiesDeclarationSwift @objc public func addAttribute(_ attrVal: Any?, withName attrName: String)ParametersattrValattribute value attrNameattribute name 
- 
                  
                  Add Location attribute to MoEngagePropertiesDeclarationSwift @objc public func addLocationAttribute(_ attrVal: MoEngageGeoLocation, withName attrName: String)ParametersattrVallocation attribute of type MoEngageGeoLocationattrVallocation attribute of type MoEngageGeoLocationattrNameattribute name 
- 
                  
                  Add date attribute to MoEngagePropertiesDeclarationSwift @objc public func addDateAttribute(_ attrVal: Date, withName attrName: String)ParametersattrValvalue of type DateattrNameattribute name 
- 
                  
                  Add ISO date attribute to MoEngagePropertiesNote ISO format accepted yyyy-MM-dd’T'HH:mm:ss.SSS'Z’ / yyyy-MM-dd’T'HH:mm:ss'Z’DeclarationSwift @objc public func addDateISOStringAttribute(_ dateString: String, withName attrName: String)ParametersdateStringISO date string attrNameattribute value 
- 
                  
                  Add Epoch Date attribute to MoEngagePropertiesDeclarationSwift @objc public func addDateEpochAttribute(_ epoch: Double, withName attrName: String)ParametersepochDate attribute of type Double attrNameattribute name 
- 
                  
                  Set the event as non-interactive. DeclarationSwift @objc public func setNonInteractive()
- 
                  
                  DeclarationSwift public required init(from decoder: Decoder) throws
- 
                  
                  DeclarationSwift public func encode(to encoder: any Encoder) throws
- 
                  
                  DeclarationSwift public override func isEqual(_ object: Any?) -> Bool
