protected override void OnFailed(Wrapper.FailedState args)
        {
            base.OnFailed(args);

            startPreviewCompletionSource?.TrySetCanceled();

            stopCompletionSource?.TrySetCanceled();

            photoCompletionSource?.TrySetCanceled();
        }
예제 #2
0
 protected virtual void OnFailed(Wrapper.FailedState args)
 {
     // failed could be called on a non-ui thread, see OnUpdate
     // TODO: queue up special actions that can be processed on the next Update pass
     Debug.LogError(args);
 }