示例#1
0
    private void OnSaveResult(string sourcesData)
    {
        string[] sources = SA.Common.Data.Converter.ParseArray(sourcesData);

        ReplayKitVideoShareResult result = new ReplayKitVideoShareResult(sources);

        ActionShareDialogFinished(result);
    }
示例#2
0
    private void OnSaveResult(string sourcesData)
    {
        string[] sources = IOSNative.ParseArray(sourcesData);

        ReplayKitVideoShareResult result = new ReplayKitVideoShareResult(sources);

        ActionShareDialogFinished(result);
    }
示例#3
0
 void HandleActionShareDialogFinished(ReplayKitVideoShareResult res)
 {
     if (res.Sources.Length > 0)
     {
         foreach (string source in res.Sources)
         {
             IOSNativePopUpManager.showMessage("Success", "User has shared the video to" + source);
         }
     }
     else
     {
         IOSNativePopUpManager.showMessage("Fail", "User declined video sharing!");
     }
 }
	void HandleActionShareDialogFinished (ReplayKitVideoShareResult res) {
		if(res.Sources.Length > 0) {
			foreach(string source in res.Sources) {
				IOSNativePopUpManager.showMessage ("Success", "User has shared the video to" + source);
			}
		} else {
			IOSNativePopUpManager.showMessage ("Fail", "User declined video sharing!");
		}
	}