Interface Event.Builder

    • Method Detail

      • appPackageName

        Event.Builder appPackageName​(String appPackageName)

        The package name of the app that's recording the event.

        Parameters:
        appPackageName - The package name of the app that's recording the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • appTitle

        Event.Builder appTitle​(String appTitle)

        The title of the app that's recording the event.

        Parameters:
        appTitle - The title of the app that's recording the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • appVersionCode

        Event.Builder appVersionCode​(String appVersionCode)

        The version number of the app that's recording the event.

        Parameters:
        appVersionCode - The version number of the app that's recording the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributes

        Event.Builder attributes​(Map<String,​String> attributes)

        One or more custom attributes that are associated with the event.

        Parameters:
        attributes - One or more custom attributes that are associated with the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientSdkVersion

        Event.Builder clientSdkVersion​(String clientSdkVersion)

        The version of the SDK that's running on the client device.

        Parameters:
        clientSdkVersion - The version of the SDK that's running on the client device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventType

        Event.Builder eventType​(String eventType)

        The name of the event.

        Parameters:
        eventType - The name of the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metrics

        Event.Builder metrics​(Map<String,​Double> metrics)

        One or more custom metrics that are associated with the event.

        Parameters:
        metrics - One or more custom metrics that are associated with the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sdkName

        Event.Builder sdkName​(String sdkName)

        The name of the SDK that's being used to record the event.

        Parameters:
        sdkName - The name of the SDK that's being used to record the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • session

        Event.Builder session​(Session session)

        Information about the session in which the event occurred.

        Parameters:
        session - Information about the session in which the event occurred.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timestamp

        Event.Builder timestamp​(String timestamp)

        The date and time, in ISO 8601 format, when the event occurred.

        Parameters:
        timestamp - The date and time, in ISO 8601 format, when the event occurred.
        Returns:
        Returns a reference to this object so that method calls can be chained together.