Interface AnalyticsSessionMetric.Builder

    • Method Detail

      • name

        AnalyticsSessionMetric.Builder name​(String name)

        The metric for which you want to get session summary statistics.

        • Count – The number of sessions.

        • Success – The number of sessions that succeeded.

        • Failure – The number of sessions that failed.

        • Dropped – The number of sessions that the user dropped.

        • Duration – The duration of sessions.

        • TurnsPerSession – The number of turns in the sessions.

        • Concurrency – The number of sessions occurring in the same period of time.

        Parameters:
        name - The metric for which you want to get session summary statistics.

        • Count – The number of sessions.

        • Success – The number of sessions that succeeded.

        • Failure – The number of sessions that failed.

        • Dropped – The number of sessions that the user dropped.

        • Duration – The duration of sessions.

        • TurnsPerSession – The number of turns in the sessions.

        • Concurrency – The number of sessions occurring in the same period of time.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AnalyticsSessionMetricName, AnalyticsSessionMetricName
      • name

        AnalyticsSessionMetric.Builder name​(AnalyticsSessionMetricName name)

        The metric for which you want to get session summary statistics.

        • Count – The number of sessions.

        • Success – The number of sessions that succeeded.

        • Failure – The number of sessions that failed.

        • Dropped – The number of sessions that the user dropped.

        • Duration – The duration of sessions.

        • TurnsPerSession – The number of turns in the sessions.

        • Concurrency – The number of sessions occurring in the same period of time.

        Parameters:
        name - The metric for which you want to get session summary statistics.

        • Count – The number of sessions.

        • Success – The number of sessions that succeeded.

        • Failure – The number of sessions that failed.

        • Dropped – The number of sessions that the user dropped.

        • Duration – The duration of sessions.

        • TurnsPerSession – The number of turns in the sessions.

        • Concurrency – The number of sessions occurring in the same period of time.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AnalyticsSessionMetricName, AnalyticsSessionMetricName
      • statistic

        AnalyticsSessionMetric.Builder statistic​(String statistic)

        The summary statistic to calculate.

        • Sum – The total count for the category you provide in name.

        • Average – The total count divided by the number of sessions in the category you provide in name.

        • Max – The highest count in the category you provide in name.

        Parameters:
        statistic - The summary statistic to calculate.

        • Sum – The total count for the category you provide in name.

        • Average – The total count divided by the number of sessions in the category you provide in name.

        • Max – The highest count in the category you provide in name.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AnalyticsMetricStatistic, AnalyticsMetricStatistic
      • statistic

        AnalyticsSessionMetric.Builder statistic​(AnalyticsMetricStatistic statistic)

        The summary statistic to calculate.

        • Sum – The total count for the category you provide in name.

        • Average – The total count divided by the number of sessions in the category you provide in name.

        • Max – The highest count in the category you provide in name.

        Parameters:
        statistic - The summary statistic to calculate.

        • Sum – The total count for the category you provide in name.

        • Average – The total count divided by the number of sessions in the category you provide in name.

        • Max – The highest count in the category you provide in name.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AnalyticsMetricStatistic, AnalyticsMetricStatistic
      • order

        AnalyticsSessionMetric.Builder order​(String order)

        Specifies whether to sort the results in ascending or descending order.

        Parameters:
        order - Specifies whether to sort the results in ascending or descending order.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AnalyticsSortOrder, AnalyticsSortOrder