Class Cheetah

  • All Implemented Interfaces:

    
    public final class Cheetah
    
                        

    Separates logic between the core Marigold SDK functionality and that of Cheetah apps.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Cheetah()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Unit logRegistrationEvent(String userId, Marigold.MarigoldHandler<Void> handler) Log a registration event with Marigold.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Cheetah

        Cheetah()
    • Method Detail

      • logRegistrationEvent

         final Unit logRegistrationEvent(String userId, Marigold.MarigoldHandler<Void> handler)

        Log a registration event with Marigold. This is used to log users signing in and out of the app. Pass the ID you wish to use for the sign-in or null for a sign-out.

        Parameters:
        userId - The ID of the user signing in, or null for sign-out.
        handler - Callback returns an error if one occurred.