Nami Public Documentation
SDK Reference
SDK Reference
  • NAMI
    • configure
    • NamiConfiguration
    • NamiLanguageCodes
  • NamiCampaignManager
    • launch
    • allCampaigns
    • isCampaignAvailable
    • refresh
    • registerAvailableCampaignsHandler
    • NamiCampaign
    • NamiCampaignRuleType
    • LaunchCampaignError
  • NamiCustomerManager
    • CustomerJourneyState
    • isLoggedIn
    • journeyState
    • loggedInId
    • login
    • logout
    • registerAccountStateHandler
    • registerJourneyStateHandler
    • setCustomerAttribute
    • getCustomerAttribute
    • clearCustomerAttribute
    • clearAllCustomerAttributes
  • NamiEntitlementManager
    • active
    • isEntitlementActive
    • NamiEntitlement
    • refresh
    • registerActiveEntitlementsHandler
  • NamiPaywallManager
    • dismiss
    • displayedViewController
    • registerSignInHandler
    • registerCloseHandler
    • registerBuySkuHandler
    • registerDeeplinkActionHandler
    • buySkuComplete
    • NamiPurchaseSuccess
    • NamiPaywallAction
    • NamiSKUType
  • NamiPurchaseManager
    • anySkuPurchased
    • consumePurchasedSku
    • NamiPurchase
    • NamiPurchaseState
    • NamiRestorePurchasesState
    • NamiSKU
    • presentCodeRedemptionSheet
    • registerPurchasesChangedHandler
    • registerRestorePurchasesHandler
    • restorePurchases
    • skuPurchased
  • NamiMLManager
    • coreAction
    • enterCoreContent
    • exitCoreContent
Powered by GitBook
On this page
  1. NamiMLManager

enterCoreContent

Inform the SDK when a user starts consuming content that is core to your app experience

NamiMLManager.enterCoreContent(label: String)
NamiMLManager.enterCoreContent(label: String)
// Use version that takes List<String> (see below)
NativeModules.NamiMLManagerBridge.enterCoreContentWithLabel(label: String);

Arguments

  • (required) label: String that describes the content being consumed. The same string must be used in both enterCoreContent and exitCoreContent calls.

Content with Hierarchies

If your content has a nested relationship between the tags, we provide a call that will allow you to inform Nami about that structure.

NamiMLManager.enterCoreContent(labels: [String])
NamiMLManager.enterCoreContent(labels: List<String>)
NamiMLManager.enterCoreContent(List<String> labels);
NativeModules.NamiMLManagerBridge.enterCoreContent(labels: [String])

Arguments

  • labels a list of strings where the list is ordered by the relationship of the content, such as ["video", "basketball", "michael jordan"].

PreviouscoreActionNextexitCoreContent

Last updated 1 year ago