예제 #1
0
        /// <summary>
        /// This method returns the Current Time
        /// </summary>
        public async void GetCurrentTime()
        {
            // initial value
            int currentTime = 0;

            // if the value for HasVideoPlayer is true
            if (HasVideoPlayer)
            {
                // get the current time
                currentTime = await VideoPlayer.GetCurrentTime();

                // now set the display time
                SetDisplayTime(currentTime);
            }
        }