private void OnSaveResult(string sourcesData) { _IsRecording = false; string[] sources = IOSNative.ParseArray(sourcesData); ReplayKitVideoStopResult result = new ReplayKitVideoStopResult(sources); ActionRecordStoped(result); }
void HandleActionRecordStoped(ReplayKitVideoStopResult res) { if (res.IsFailed) { IOSNativePopUpManager.showMessage("Fail", "Error: " + res.Error.Description); return; } if (res.SavedSources.Length > 0) { foreach (string source in res.SavedSources) { IOSNativePopUpManager.showMessage("Success", "User has shared the video to" + source); } } else { IOSNativePopUpManager.showMessage("Fail", "User declined video sharing!"); } }
private void OnRecorStopFailed(string errorData) { ReplayKitVideoStopResult result = new ReplayKitVideoStopResult(errorData); ActionRecordStoped(result); }