Esempio n. 1
0
        void doShare()
        {
            path = recordingPath.Value;
            if (path == null)
            {
                return;
            }

            Sharing.Share(path);
        }
Esempio n. 2
0
 public void Share(string message, SharerType sharerType)
 {
     if (sharerType == SharerType.Reddit)
     {
         redditPoster.Post(message);
     }
     else
     {
         Sharing sharer = SharerFactory.Instance.GetSharer(sharerType);
         sharer.Share(message);
     }
 }
Esempio n. 3
0
 public void ShareEveryWhere(string message)
 {
     foreach (SharerType sharerType in Enum.GetValues(typeof(SharerType)))
     {
         Sharing sharer = SharerFactory.Instance.GetSharer(sharerType);
         if (sharer != null)
         {
             sharer.Share(message);
         }
     }
     //Also share on Reddit
     redditPoster.Post(message);
 }
Esempio n. 4
0
 // Invoked by UI when user clicks share button
 public void OnShare()
 {
     // Share the replay using the native sharing UI
     Sharing.Share(this.pathToReplay);
 }