Package 

Class EmbeddedCare


  • 
    public final class EmbeddedCare
    
                        

    The primary interaction point with Felt's embedded care features

    • Method Detail

      • getScope

         final <ERROR CLASS> getScope()
      • getAccount

         final Account getAccount()

        Provides details about the current user account. Update this as information about the currently logged in user changes.

      • initialize

         final Unit initialize(AppCompatActivity initialActivity, String sdkKey)

        Call this at app launch to initialize the sdk.

        Parameters:
        sdkKey - Felt's provided sdk key for your client
      • presentExperience

         final Unit presentExperience(FullScreenExperience experience, String source)

        Presents a full screen experience modally

        Parameters:
        source - Allows the client to provide information about the presentation source for tracking purposes
      • handleURL

         final Boolean handleURL(String url)

        In your app's deep-link handling code, call this to check if the url deep-links to embedded care content.

      • handleNotification

         final Boolean handleNotification(Map<String, String> data)

        In your app's push notification handling code, call this to check if the notification deep-links to embedded care content.

      • handleNotification

         final Boolean handleNotification(Bundle data)

        In your app's push notification handling code, call this to check if the notification deep-links to embedded care content.