初始化提交
This commit is contained in:
29
WebDriverAgentLib/Routing/FBScreenRecordingPromise.h
Normal file
29
WebDriverAgentLib/Routing/FBScreenRecordingPromise.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/**
|
||||
* Copyright (c) 2015-present, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD-style license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#import <XCTest/XCTest.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface FBScreenRecordingPromise : NSObject
|
||||
|
||||
/** Unique identiifier of the video recording, also used as the default file name */
|
||||
@property (nonatomic, readonly) NSUUID *identifier;
|
||||
/** Native screen recording promise */
|
||||
@property (nonatomic, readonly) id nativePromise;
|
||||
|
||||
/**
|
||||
Creates a wrapper object for a native screen recording promise
|
||||
|
||||
@param promise Native promise object to be wrapped
|
||||
*/
|
||||
- (instancetype)initWithNativePromise:(id)promise;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user