Exemplo n.º 1
0
    private void OnSaveResult(string sourcesData)
    {
        _IsRecording = false;
        string[] sources = IOSNative.ParseArray(sourcesData);

        ReplayKitVideoStopResult result = new ReplayKitVideoStopResult(sources);

        ActionRecordStoped(result);
    }
Exemplo n.º 2
0
    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!");
        }
    }
Exemplo n.º 3
0
    private void OnRecorStopFailed(string errorData)
    {
        ReplayKitVideoStopResult result = new ReplayKitVideoStopResult(errorData);

        ActionRecordStoped(result);
    }