UALegacyInAppMessageFactoryDelegate
Objective-C
@protocol UALegacyInAppMessageFactoryDelegate <NSObject>
Swift
protocol LegacyInAppMessageFactoryDelegate : NSObjectProtocol
A delegate protocol for bridging legacy in-app messages with the v2 infrastructure.
-
Converts a legacy in-app message model object into an in-app automation. Use this method to override the conversion process in its entirety.
Declaration
Objective-C
- (nonnull UASchedule *)scheduleForMessage: (nonnull UALegacyInAppMessage *)message;
Swift
func schedule(for message: UALegacyInAppMessage) -> UASchedule
Parameters
message
The legacy in-app message model object.
Return Value
An instance of UASchedule..