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.
28 lines (24 loc) • 704 B
text/typescript
/**
* DisplayRules for Campaign
* @since 11.1.0
*/
export default class MoEInAppRules {
/**
* Screenname for which InApp was configured to be shown.
* @deprecated Use the 'screenNames' property instead.
*/
screenName: string | null;
/**
* contexts for which InApp was configured to be shown.
*/
contexts: Array<string>;
/**
* Screennames for which InApp was configured to be shown.
*/
screenNames: Array<string>;
constructor(screenName: string | null, contexts: Array<string> = [], screenNames: Array<string> = []) {
this.screenName = screenName;
this.contexts = contexts;
this.screenNames = screenNames;
}
}