Ejemplo n.º 1
0
        /// <summary>
        /// Specify the streamObjects, otherwise we will count them automatically
        /// </summary>
        /// <param name="speckleApiClient"></param>
        /// <param name="streamObjects"></param>
        public static void StreamReceive(this SpeckleApiClient speckleApiClient, int?streamObjects = null)
        {
            int num_streamObjects = streamObjects ?? speckleApiClient.GetNumberOfObjects();

            MatomoTelemetry.TrackWithMetaMatomo(speckleApiClient, "stream", "receive", "object_num", num_streamObjects.ToString());
            speckleApiClient.TrackWithMetaAppInsights("stream-receive");
            speckleApiClient.TrackWithMetaAmplitude("stream-receive");
        }