Esempio n. 1
0
        private async Task GetSelectedSession()
        {
            if (string.IsNullOrEmpty(SessionId))
            {
                return;
            }

            Session = await conferenceStore.GetSession(SessionId);
        }
        private async Task GetSelectedSession()
        {
            if (string.IsNullOrEmpty(SessionId))
            {
                return;
            }

            Session = await conferenceStore.GetSession(SessionId);

            var tf = new TaskFactory();

            Task.Run(() =>
            {
                Analytics.TrackEvent("session Detail", new Dictionary <string, string> {
                    { "Category", Session.Track },
                    { "Title", Session.Title },
                });
            }).SafeFireAndForget();

            RegisterAppLink(active: true);
        }
Esempio n. 3
0
        private async Task GetSelectedSession()
        {
            if (string.IsNullOrEmpty(SessionId))
            {
                return;
            }

            Session = await conferenceStore.GetSession(SessionId);

            Task.Run(() =>
            {
                Analytics.TrackEvent("session Detail", new Dictionary <string, string> {
                    { "Category", Session.Track },
                    { "Title", Session.Title },
                });

                //You can use any of the LogEvent Overloads, for example:
                analyticsService.LogEvent("Session_Detail", new Dictionary <string, string>
                {
                    { "Category", Session.Track },
                    { "Title", Session.Title },
                });
            }).SafeFireAndForget();
        }