Class Contract



  • public final class Contract
    extends java.lang.Object
    Contract definition for chat sdk embeddable.

    Serves as an integration contract that integrating projects can use to verify the Chat SDK presence at runtime.

    CHANGES TO THIS CONTRACT ARE LIKELY TO BREAK THE INTEGRATION - DO NOT MODIFY.

    • Constructor Summary

      Constructors 
      Constructor and Description
      Contract() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String getChatSdkVersionName()
      Gets version name of the chat sdk as specified in the build.gradle project build file
      • Methods inherited from class java.lang.Object

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

      • ACTION_CREATE_REQUEST

        public static final java.lang.String ACTION_CREATE_REQUEST
        Defines the action for open ticket intent.

        Used to notify the host component which embeds the chat that there is an intention to create a ticket request. It the intent with this action does not get intercepted it will be handled by the Chat SDK as a default.

        See Also:
        Constant Field Values
    • Constructor Detail

      • Contract

        public Contract()
    • Method Detail

      • getChatSdkVersionName

        public static java.lang.String getChatSdkVersionName()
        Gets version name of the chat sdk as specified in the build.gradle project build file
        Returns:
        version name

        DO NOT MODIFY