FBScreenRecordingPromise.h 842 B

123456789101112131415161718192021222324252627282930
  1. /**
  2. * Copyright (c) 2015-present, Facebook, Inc.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the BSD-style license found in the
  6. * LICENSE file in the root directory of this source tree. An additional grant
  7. * of patent rights can be found in the PATENTS file in the same directory.
  8. */
  9. #import <XCTest/XCTest.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface FBScreenRecordingPromise : NSObject
  12. /** Unique identiifier of the video recording, also used as the default file name */
  13. @property (nonatomic, readonly) NSUUID *identifier;
  14. /** Native screen recording promise */
  15. @property (nonatomic, readonly) id nativePromise;
  16. /**
  17. Creates a wrapper object for a native screen recording promise
  18. @param promise Native promise object to be wrapped
  19. */
  20. - (instancetype)initWithNativePromise:(id)promise;
  21. @end
  22. NS_ASSUME_NONNULL_END