react-native-moengage
Version:
MoEngage is a mobile marketing automation company. This react-native SDK helps you track events, trigger smart notifications and in-apps, provides a drop-in Inbox Controller for notifications.
20 lines (18 loc) • 460 B
text/typescript
/**
* DisplayRules for Campaign
* @since 11.1.0
*/
export default class MoEInAppRules {
/**
* Screenname for which InApp was configured to be shown.
*/
screenName: string | null
/**
* contexts for which InApp was configured to be shown.
*/
contexts: Array<string>
constructor(screenName: string | null, contexts: Array<string> = []) {
this.screenName = screenName;
this.contexts = contexts;
}
}