simtap 0.0.0-stage → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +186 -2
- package/THIRD_PARTY_LICENSES +61 -0
- package/bin/simtap.js +4 -0
- package/dist/act/diff.js +67 -0
- package/dist/act/resolve.js +49 -0
- package/dist/act/steps.js +188 -0
- package/dist/cli.js +123 -0
- package/dist/engine/apps.js +153 -0
- package/dist/engine/axe.js +107 -0
- package/dist/engine/exec.js +36 -0
- package/dist/engine/jobs.js +95 -0
- package/dist/engine/logs.js +115 -0
- package/dist/engine/simctl.js +191 -0
- package/dist/engine/state.js +30 -0
- package/dist/engine/xcode.js +253 -0
- package/dist/engine/xcresult.js +95 -0
- package/dist/errors.js +11 -0
- package/dist/look/read.js +50 -0
- package/dist/look/snapshot.js +455 -0
- package/dist/mcp.js +108 -0
- package/dist/registry.js +65 -0
- package/dist/tools/app-control.js +127 -0
- package/dist/tools/app-logs.js +128 -0
- package/dist/tools/app-run.js +94 -0
- package/dist/tools/device-use.js +68 -0
- package/dist/tools/devices.js +26 -0
- package/dist/tools/jobs.js +55 -0
- package/dist/tools/launch-app.js +68 -0
- package/dist/tools/screen-record.js +79 -0
- package/dist/tools/tests-run.js +81 -0
- package/dist/tools/types.js +2 -0
- package/dist/tools/ui-act.js +435 -0
- package/dist/tools/ui-look.js +40 -0
- package/package.json +45 -4
- package/skill/SKILL.md +23 -0
- package/vendor/axe/.version +1 -0
- package/vendor/axe/AXe_AXe.bundle/skills/axe/SKILL.md +87 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/FBControlCore +0 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBAccessibilityTraits.h +23 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBArchitecture.h +20 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBArchiveOperations.h +136 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBBinaryDescriptor.h +73 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBControlCore-Swift.h +3232 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBControlCore-SwiftImport.h +28 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBControlCore.h +47 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBControlCoreFrameworkLoader.h +104 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBControlCoreLogger+OSLog.h +30 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBControlCoreLogger.h +107 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBCrashLog.h +20 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBDataBuffer.h +75 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBDataConsumer.h +173 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBFileContainer.h +46 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBFileReader.h +25 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBFourCharCode.h +30 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBFuture+Sync.h +104 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBFuture.h +580 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBFutureContextManager.h +61 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBInstalledApplication.h +30 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBInstrumentsCommands.h +29 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBInstrumentsOperation.h +83 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBObjCExceptionGuard.h +59 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBProcessBuilder.h +272 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBProcessFetcher.h +128 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBProcessIO.h +126 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBProcessStream.h +175 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBProcessTerminationStrategy.h +25 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBScreenshotCommands.h +15 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBSettingsCommands.h +22 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBSocketServer.h +63 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBSubprocess.h +131 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBVideoStream.h +255 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBVideoStreamConfiguration.h +51 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBXCTraceOperation.h +13 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBiOSTarget.h +69 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBiOSTargetConfiguration.h +322 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBiOSTargetConstants.h +48 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBiOSTargetOperation.h +18 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/arm64-apple-macos.abi.json +51890 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/arm64-apple-macos.private.swiftinterface +1341 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/arm64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/arm64-apple-macos.swiftinterface +1341 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/arm64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/x86_64-apple-macos.abi.json +51890 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/x86_64-apple-macos.private.swiftinterface +1341 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/x86_64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/x86_64-apple-macos.swiftinterface +1341 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/x86_64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/module.modulemap +10 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Resources/Info.plist +50 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/_CodeSignature/CodeResources +492 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/FBDeviceControl +0 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBAFCConnection.h +135 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBAMDServiceConnection.h +239 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBAMDefines.h +256 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBAMDevice.h +105 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBAMDeviceManager.h +59 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBAMRestorableDevice.h +72 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBAMRestorableDeviceManager.h +32 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDevice.h +89 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDeviceCommands.h +147 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDeviceControl-Swift.h +1500 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDeviceControl.h +24 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDeviceControlFrameworkLoader.h +25 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDeviceDebugSymbolsCommands.h +29 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDeviceManager.h +118 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBInstrumentsClient.h +49 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/arm64-apple-macos.abi.json +16073 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/arm64-apple-macos.private.swiftinterface +398 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/arm64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/arm64-apple-macos.swiftinterface +398 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/arm64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/x86_64-apple-macos.abi.json +16073 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/x86_64-apple-macos.private.swiftinterface +398 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/x86_64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/x86_64-apple-macos.swiftinterface +398 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/x86_64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/module.modulemap +10 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Resources/Info.plist +50 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/_CodeSignature/CodeResources +324 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/FBSimulatorControl +0 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBFramebuffer.h +24 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBPeriodicStatsTimer.h +43 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBSimDeviceWrapper.h +86 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBSimulator.h +160 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBSimulatorBootConfiguration.h +18 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBSimulatorControl-Swift.h +2270 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBSimulatorControl.h +21 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBSimulatorControlFrameworkLoader.h +45 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBSimulatorVideoStream.h +153 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/arm64-apple-macos.abi.json +46980 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/arm64-apple-macos.private.swiftinterface +1072 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/arm64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/arm64-apple-macos.swiftinterface +1072 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/arm64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/x86_64-apple-macos.abi.json +46980 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/x86_64-apple-macos.private.swiftinterface +1072 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/x86_64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/x86_64-apple-macos.swiftinterface +1072 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/x86_64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/module.modulemap +10 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Resources/Info.plist +50 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Resources/README.md +124 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/_CodeSignature/CodeResources +293 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBActivityRecord.h +33 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBAttachment.h +25 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBCodeCoverageConfiguration.h +15 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBTestBundleConnection.h +37 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBTestConfiguration.h +74 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBTestManagerAPIMediator.h +46 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBTestManagerResultSummary.h +19 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBTestReporterAdapter.h +27 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBXCTestConfiguration.h +30 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/XCTestBootstrap-Swift.h +1570 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/XCTestBootstrap.h +22 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/XCTestBootstrapError.h +25 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/arm64-apple-macos.abi.json +15972 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/arm64-apple-macos.private.swiftinterface +397 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/arm64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/arm64-apple-macos.swiftinterface +397 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/arm64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/x86_64-apple-macos.abi.json +15972 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/x86_64-apple-macos.private.swiftinterface +397 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/x86_64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/x86_64-apple-macos.swiftinterface +397 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/x86_64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/module.modulemap +13 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Resources/Info.plist +50 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/XCTestBootstrap +0 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/_CodeSignature/CodeResources +303 -0
- package/vendor/axe/axe +0 -0
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#import <CoreMedia/CoreMedia.h>
|
|
9
|
+
#import <Foundation/Foundation.h>
|
|
10
|
+
|
|
11
|
+
#import <FBControlCore/FBiOSTargetOperation.h>
|
|
12
|
+
|
|
13
|
+
@protocol FBDataConsumer;
|
|
14
|
+
@protocol FBDataConsumerSync;
|
|
15
|
+
|
|
16
|
+
// Protocol defined in Swift (FBVideoStreamProtocol.swift)
|
|
17
|
+
@protocol FBVideoStream;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
Returns true if consumer is ready to process another frame, false if consumer buffered data exceedes allowed limit
|
|
21
|
+
|
|
22
|
+
@param consumer consumer
|
|
23
|
+
@return True if next frame should be pushed; False if frame should be dropped
|
|
24
|
+
*/
|
|
25
|
+
extern BOOL checkConsumerBufferLimit(id<FBDataConsumer> _Nonnull consumer, id<FBControlCoreLogger> _Nonnull logger);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
Write an H264 frame to the stream, in the Annex-B stream format.
|
|
29
|
+
|
|
30
|
+
@param sampleBuffer the Sample buffer to write.
|
|
31
|
+
@param context unused, pass nil. Present for FBCompressedFrameWriter signature conformance.
|
|
32
|
+
@param consumer the consumer to write to.
|
|
33
|
+
@param logger the logger to use.
|
|
34
|
+
@param error an error out for any error that occurs.
|
|
35
|
+
@return YES if successful, NO otherwise.
|
|
36
|
+
*/
|
|
37
|
+
extern BOOL WriteFrameToAnnexBStream(CMSampleBufferRef _Nonnull sampleBuffer, id _Nullable context, id<FBDataConsumer> _Nonnull consumer, id<FBControlCoreLogger> _Nonnull logger, NSError * _Nullable * _Nullable error);
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
Write an HEVC frame to the stream, in the Annex-B stream format.
|
|
41
|
+
Extracts VPS, SPS, and PPS parameter sets from keyframes.
|
|
42
|
+
|
|
43
|
+
@param sampleBuffer the Sample buffer to write.
|
|
44
|
+
@param context unused, pass nil. Present for FBCompressedFrameWriter signature conformance.
|
|
45
|
+
@param consumer the consumer to write to.
|
|
46
|
+
@param logger the logger to use.
|
|
47
|
+
@param error an error out for any error that occurs.
|
|
48
|
+
@return YES if successful, NO otherwise.
|
|
49
|
+
*/
|
|
50
|
+
extern BOOL WriteHEVCFrameToAnnexBStream(CMSampleBufferRef _Nonnull sampleBuffer, id _Nullable context, id<FBDataConsumer> _Nonnull consumer, id<FBControlCoreLogger> _Nonnull logger, NSError * _Nullable * _Nullable error);
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
Write an HEVC frame to the stream, in the MPEG-TS container format.
|
|
54
|
+
Emits PAT and PMT tables on keyframes for mid-stream join support.
|
|
55
|
+
|
|
56
|
+
@param sampleBuffer the Sample buffer to write.
|
|
57
|
+
@param context unused, pass nil. Present for FBCompressedFrameWriter signature conformance.
|
|
58
|
+
@param consumer the consumer to write to.
|
|
59
|
+
@param logger the logger to use.
|
|
60
|
+
@param error an error out for any error that occurs.
|
|
61
|
+
@return YES if successful, NO otherwise.
|
|
62
|
+
*/
|
|
63
|
+
extern BOOL WriteHEVCFrameToMPEGTSStream(CMSampleBufferRef _Nonnull sampleBuffer, id _Nullable context, id<FBDataConsumer> _Nonnull consumer, id<FBControlCoreLogger> _Nonnull logger, NSError * _Nullable * _Nullable error);
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
Write an H264 frame to the stream, in the MPEG-TS container format.
|
|
67
|
+
Emits PAT and PMT tables on keyframes for mid-stream join support.
|
|
68
|
+
|
|
69
|
+
@param sampleBuffer the Sample buffer to write.
|
|
70
|
+
@param context unused, pass nil. Present for FBCompressedFrameWriter signature conformance.
|
|
71
|
+
@param consumer the consumer to write to.
|
|
72
|
+
@param logger the logger to use.
|
|
73
|
+
@param error an error out for any error that occurs.
|
|
74
|
+
@return YES if successful, NO otherwise.
|
|
75
|
+
*/
|
|
76
|
+
extern BOOL WriteH264FrameToMPEGTSStream(CMSampleBufferRef _Nonnull sampleBuffer, id _Nullable context, id<FBDataConsumer> _Nonnull consumer, id<FBControlCoreLogger> _Nonnull logger, NSError * _Nullable * _Nullable error);
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
Muxer context for fragmented MP4 (fMP4) output.
|
|
80
|
+
Minimal state holder — all frame writing logic lives in the C writer functions.
|
|
81
|
+
Created per video stream — no static/global state.
|
|
82
|
+
*/
|
|
83
|
+
@interface FBFMP4MuxerContext : NSObject
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
Create a new fMP4 muxer context.
|
|
87
|
+
|
|
88
|
+
@param isHEVC YES for HEVC/H.265, NO for H.264.
|
|
89
|
+
@return a new muxer context.
|
|
90
|
+
*/
|
|
91
|
+
- (nonnull instancetype)initWithHEVC:(BOOL)isHEVC;
|
|
92
|
+
|
|
93
|
+
@property (nonatomic, readonly, assign) BOOL isHEVC;
|
|
94
|
+
@property (nonatomic, assign) BOOL initWritten;
|
|
95
|
+
@property (nonatomic, assign) uint32_t sequenceNumber;
|
|
96
|
+
@property (nonatomic, assign) uint64_t baseDecodeTime;
|
|
97
|
+
@property (nonatomic, assign) uint64_t lastPts90k;
|
|
98
|
+
|
|
99
|
+
@end
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
Write an H264 frame to the stream, in the fMP4 container format.
|
|
103
|
+
Emits ftyp + moov on first keyframe. Each frame is a single-sample moof + mdat fragment.
|
|
104
|
+
NAL data is kept in AVCC (length-prefixed) format — not converted to Annex-B.
|
|
105
|
+
|
|
106
|
+
@param sampleBuffer the Sample buffer to write.
|
|
107
|
+
@param context an FBFMP4MuxerContext instance holding per-stream state. Must not be nil (nullable only for FBCompressedFrameWriter typedef conformance).
|
|
108
|
+
@param consumer the consumer to write to.
|
|
109
|
+
@param logger the logger to use.
|
|
110
|
+
@param error an error out for any error that occurs.
|
|
111
|
+
@return YES if successful, NO otherwise.
|
|
112
|
+
*/
|
|
113
|
+
extern BOOL WriteH264FrameToFMP4Stream(CMSampleBufferRef _Nonnull sampleBuffer, id _Nullable context, id<FBDataConsumer> _Nonnull consumer, id<FBControlCoreLogger> _Nonnull logger, NSError * _Nullable * _Nullable error);
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
Write an HEVC frame to the stream, in the fMP4 container format.
|
|
117
|
+
|
|
118
|
+
@param sampleBuffer the Sample buffer to write.
|
|
119
|
+
@param context an FBFMP4MuxerContext instance holding per-stream state. Must not be nil (nullable only for FBCompressedFrameWriter typedef conformance).
|
|
120
|
+
@param consumer the consumer to write to.
|
|
121
|
+
@param logger the logger to use.
|
|
122
|
+
@param error an error out for any error that occurs.
|
|
123
|
+
@return YES if successful, NO otherwise.
|
|
124
|
+
*/
|
|
125
|
+
extern BOOL WriteHEVCFrameToFMP4Stream(CMSampleBufferRef _Nonnull sampleBuffer, id _Nullable context, id<FBDataConsumer> _Nonnull consumer, id<FBControlCoreLogger> _Nonnull logger, NSError * _Nullable * _Nullable error);
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
Write an emsg (Event Message) box for a chapter marker to the fMP4 stream.
|
|
129
|
+
|
|
130
|
+
@param context the FBFMP4MuxerContext for PTS tracking.
|
|
131
|
+
@param text the chapter/marker label text.
|
|
132
|
+
@param consumer the data consumer to write the emsg box to.
|
|
133
|
+
*/
|
|
134
|
+
extern void FBFMP4WriteEmsgBox(FBFMP4MuxerContext * _Nonnull context, NSString * _Nonnull text, id<FBDataConsumer> _Nonnull consumer);
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
Write a JPEG frame to the MJPEG stream.
|
|
138
|
+
|
|
139
|
+
@param jpegDataBuffer the JPEG data to write.
|
|
140
|
+
@param consumer the consumer to write to.
|
|
141
|
+
@param logger the logger to use.
|
|
142
|
+
@param error an error out for any error that occurs.
|
|
143
|
+
@return YES if successful, NO otherwise.
|
|
144
|
+
*/
|
|
145
|
+
extern BOOL WriteJPEGDataToMJPEGStream(CMBlockBufferRef _Nonnull jpegDataBuffer, id<FBDataConsumer> _Nonnull consumer, id<FBControlCoreLogger> _Nonnull logger, NSError * _Nullable * _Nullable error);
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
Write a Minicap frame to the stream, based upon using the provided JPEG Block Buffer.
|
|
149
|
+
|
|
150
|
+
@param jpegDataBuffer the JPEG data to write.
|
|
151
|
+
@param consumer the consumer to write to.
|
|
152
|
+
@param logger the logger to use.
|
|
153
|
+
@param error an error out for any error that occurs.
|
|
154
|
+
@return YES if successful, NO otherwise.
|
|
155
|
+
*/
|
|
156
|
+
extern BOOL WriteJPEGDataToMinicapStream(CMBlockBufferRef _Nonnull jpegDataBuffer, id<FBDataConsumer> _Nonnull consumer, id<FBControlCoreLogger> _Nonnull logger, NSError * _Nullable * _Nullable error);
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
Write a Minicap header to the stream.
|
|
160
|
+
|
|
161
|
+
@param width the width of the image stream.
|
|
162
|
+
@param height the height of the image stream.
|
|
163
|
+
@param consumer the consumer to write to.
|
|
164
|
+
@param logger the logger to use.
|
|
165
|
+
@param error an error out for any error that occurs.
|
|
166
|
+
*/
|
|
167
|
+
extern BOOL WriteMinicapHeaderToStream(uint32_t width, uint32_t height, id<FBDataConsumer> _Nonnull consumer, id<FBControlCoreLogger> _Nonnull logger, NSError * _Nullable * _Nullable error);
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
Compute MPEG-2 CRC32 over a byte buffer.
|
|
171
|
+
|
|
172
|
+
@param data the input bytes.
|
|
173
|
+
@param length the number of bytes.
|
|
174
|
+
@return the CRC32 value.
|
|
175
|
+
*/
|
|
176
|
+
extern uint32_t FBMPEGTS_CRC32(const uint8_t * _Nonnull data, size_t length);
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
Create a PAT (Program Association Table) MPEG-TS packet.
|
|
180
|
+
|
|
181
|
+
@param continuityCounter pointer to the PAT continuity counter, incremented on each call.
|
|
182
|
+
@return a 188-byte TS packet.
|
|
183
|
+
*/
|
|
184
|
+
extern NSData *_Nonnull FBMPEGTSCreatePATPacket(uint8_t * _Nonnull continuityCounter);
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
Create a PMT (Program Map Table) MPEG-TS packet.
|
|
188
|
+
|
|
189
|
+
@param continuityCounter pointer to the PMT continuity counter, incremented on each call.
|
|
190
|
+
@param streamType the MPEG-TS stream type for the video elementary stream (e.g. 0x24 for HEVC, 0x1B for H264).
|
|
191
|
+
@return a 188-byte TS packet.
|
|
192
|
+
*/
|
|
193
|
+
extern NSData *_Nonnull FBMPEGTSCreatePMTPacket(uint8_t * _Nonnull continuityCounter, uint8_t streamType);
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
Packetize a PES payload into one or more 188-byte MPEG-TS packets.
|
|
197
|
+
Emits PAT and PMT before video packets when isKeyFrame is YES.
|
|
198
|
+
The first TS packet of each access unit carries a PCR adaptation field.
|
|
199
|
+
|
|
200
|
+
@param pesData the PES packet data.
|
|
201
|
+
@param isKeyFrame YES to prepend PAT+PMT for mid-stream join support.
|
|
202
|
+
@param streamType the MPEG-TS stream type for the PMT (e.g. 0x24 for HEVC, 0x1B for H264).
|
|
203
|
+
@param pts90k the presentation timestamp in 90kHz units, used as the PCR base value.
|
|
204
|
+
@param videoContinuityCounter pointer to the video PID continuity counter.
|
|
205
|
+
@param patContinuityCounter pointer to the PAT continuity counter.
|
|
206
|
+
@param pmtContinuityCounter pointer to the PMT continuity counter.
|
|
207
|
+
@return the concatenated TS packets.
|
|
208
|
+
*/
|
|
209
|
+
extern NSData *_Nonnull FBMPEGTSPacketizePES(NSData * _Nonnull pesData,
|
|
210
|
+
BOOL isKeyFrame,
|
|
211
|
+
uint8_t streamType,
|
|
212
|
+
uint64_t pts90k,
|
|
213
|
+
uint8_t * _Nonnull videoContinuityCounter,
|
|
214
|
+
uint8_t * _Nonnull patContinuityCounter,
|
|
215
|
+
uint8_t * _Nonnull pmtContinuityCounter);
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
PID for the timed metadata elementary stream (ID3).
|
|
219
|
+
*/
|
|
220
|
+
extern const uint16_t FBMPEGTSMetadataPID;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
Create a PMT that optionally includes a timed metadata stream entry alongside the video stream.
|
|
224
|
+
|
|
225
|
+
@param continuityCounter pointer to the PMT continuity counter, incremented on each call.
|
|
226
|
+
@param streamType the MPEG-TS stream type for the video elementary stream.
|
|
227
|
+
@param includeMetadataStream YES to add a second stream entry for ID3 timed metadata on MetadataPID.
|
|
228
|
+
@return a 188-byte TS packet.
|
|
229
|
+
*/
|
|
230
|
+
extern NSData *_Nonnull FBMPEGTSCreatePMTPacketWithMetadata(uint8_t * _Nonnull continuityCounter, uint8_t streamType, BOOL includeMetadataStream);
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
Build MPEG-TS packets containing an ID3v2 TXXX frame with the given text at the given PTS.
|
|
234
|
+
|
|
235
|
+
@param text the chapter/marker label text.
|
|
236
|
+
@param pts90k the presentation timestamp in 90kHz units.
|
|
237
|
+
@param metadataContinuityCounter pointer to the metadata PID continuity counter, incremented on each call.
|
|
238
|
+
@return one or more concatenated 188-byte TS packets on MetadataPID.
|
|
239
|
+
*/
|
|
240
|
+
extern NSData *_Nonnull FBMPEGTSCreateTimedMetadataPackets(NSString * _Nonnull text, uint64_t pts90k, uint8_t * _Nonnull metadataContinuityCounter);
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
Enable the timed metadata stream in the MPEG-TS muxer.
|
|
244
|
+
After calling this, keyframe PMT emissions will include the metadata stream entry.
|
|
245
|
+
*/
|
|
246
|
+
extern void FBMPEGTSEnableMetadataStream(void);
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
Write a timed metadata marker into the MPEG-TS output stream at the current video PTS.
|
|
250
|
+
Thread-safe: may be called from any thread while video encoding is active.
|
|
251
|
+
|
|
252
|
+
@param text the chapter/marker label text.
|
|
253
|
+
@param consumer the data consumer to write TS packets to (typically the same consumer as the video stream).
|
|
254
|
+
*/
|
|
255
|
+
extern void FBMPEGTSWriteTimedMetadata(NSString * _Nonnull text, id<FBDataConsumer> _Nonnull consumer);
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
The Encoding of the Video Stream.
|
|
12
|
+
*/
|
|
13
|
+
typedef NSString *FBVideoStreamEncoding NS_STRING_ENUM;
|
|
14
|
+
extern FBVideoStreamEncoding _Nonnull const FBVideoStreamEncodingH264 NS_SWIFT_NAME(h264);
|
|
15
|
+
extern FBVideoStreamEncoding _Nonnull const FBVideoStreamEncodingHEVC NS_SWIFT_NAME(hevc);
|
|
16
|
+
extern FBVideoStreamEncoding _Nonnull const FBVideoStreamEncodingBGRA NS_SWIFT_NAME(bgra);
|
|
17
|
+
extern FBVideoStreamEncoding _Nonnull const FBVideoStreamEncodingMJPEG NS_SWIFT_NAME(mjpeg);
|
|
18
|
+
extern FBVideoStreamEncoding _Nonnull const FBVideoStreamEncodingMinicap;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
The Video Codec for compressed video streams.
|
|
22
|
+
*/
|
|
23
|
+
typedef NSString *FBVideoStreamCodec NS_STRING_ENUM;
|
|
24
|
+
extern FBVideoStreamCodec _Nonnull const FBVideoStreamCodecH264 NS_SWIFT_NAME(h264);
|
|
25
|
+
extern FBVideoStreamCodec _Nonnull const FBVideoStreamCodecHEVC NS_SWIFT_NAME(hevc);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
The Transport/Container format for compressed video streams.
|
|
29
|
+
*/
|
|
30
|
+
typedef NSString *FBVideoStreamTransport NS_STRING_ENUM;
|
|
31
|
+
extern FBVideoStreamTransport _Nonnull const FBVideoStreamTransportAnnexB;
|
|
32
|
+
extern FBVideoStreamTransport _Nonnull const FBVideoStreamTransportMPEGTS NS_SWIFT_NAME(mpegts);
|
|
33
|
+
extern FBVideoStreamTransport _Nonnull const FBVideoStreamTransportFMP4 NS_SWIFT_NAME(fmp4);
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
The type of video stream format.
|
|
37
|
+
*/
|
|
38
|
+
typedef NS_ENUM(NSUInteger, FBVideoStreamFormatType) {
|
|
39
|
+
FBVideoStreamFormatTypeCompressedVideo,
|
|
40
|
+
FBVideoStreamFormatTypeMJPEG NS_SWIFT_NAME(mjpeg),
|
|
41
|
+
FBVideoStreamFormatTypeMinicap,
|
|
42
|
+
FBVideoStreamFormatTypeBGRA NS_SWIFT_NAME(bgra),
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
The rate-control mode for VTCompression.
|
|
47
|
+
*/
|
|
48
|
+
typedef NS_ENUM(NSUInteger, FBVideoStreamRateControlMode) {
|
|
49
|
+
FBVideoStreamRateControlModeConstantQuality,
|
|
50
|
+
FBVideoStreamRateControlModeAverageBitrate,
|
|
51
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
|
|
10
|
+
extern const NSTimeInterval DefaultXCTraceRecordOperationTimeLimit;
|
|
11
|
+
extern const NSTimeInterval DefaultXCTraceRecordStopTimeout;
|
|
12
|
+
|
|
13
|
+
#import <FBControlCore/FBControlCore-SwiftImport.h>
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
|
|
10
|
+
#import <FBControlCore/FBArchitecture.h>
|
|
11
|
+
#import <FBControlCore/FBInstrumentsCommands.h>
|
|
12
|
+
#import <FBControlCore/FBScreenshotCommands.h>
|
|
13
|
+
#import <FBControlCore/FBiOSTargetConstants.h>
|
|
14
|
+
|
|
15
|
+
@class FBDeviceType;
|
|
16
|
+
@class FBOSVersion;
|
|
17
|
+
@class FBProcessInfo;
|
|
18
|
+
@class FBTemporaryDirectory;
|
|
19
|
+
@class FBiOSTargetDiagnostics;
|
|
20
|
+
@class FBiOSTargetScreenInfo;
|
|
21
|
+
@protocol FBControlCoreLogger;
|
|
22
|
+
|
|
23
|
+
@protocol FBiOSTargetInfo;
|
|
24
|
+
@protocol FBiOSTarget;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
The canonical string representation of the state enum.
|
|
28
|
+
*/
|
|
29
|
+
FOUNDATION_EXTERN FBiOSTargetStateString _Nonnull FBiOSTargetStateStringFromState(FBiOSTargetState state);
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
The canonical enum representation of the state string.
|
|
33
|
+
*/
|
|
34
|
+
FOUNDATION_EXTERN FBiOSTargetState FBiOSTargetStateFromStateString(FBiOSTargetStateString _Nonnull stateString);
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
The canonical string representations of the FBiOSTargetType Enum.
|
|
38
|
+
*/
|
|
39
|
+
FOUNDATION_EXTERN NSString *_Nonnull FBiOSTargetTypeStringFromTargetType(FBiOSTargetType targetType);
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
A Default Comparison Function that can be called for different implementations of FBiOSTarget.
|
|
43
|
+
*/
|
|
44
|
+
FOUNDATION_EXTERN NSComparisonResult FBiOSTargetComparison(id<FBiOSTarget> _Nonnull left, id<FBiOSTarget> _Nonnull right);
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
Constructs a string description of the provided target.
|
|
48
|
+
*/
|
|
49
|
+
FOUNDATION_EXTERN NSString *_Nonnull FBiOSTargetDescribe(id<FBiOSTargetInfo> _Nonnull target);
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
Constructs an NSPredicate matching the specified UDID.
|
|
53
|
+
*/
|
|
54
|
+
FOUNDATION_EXTERN NSPredicate *_Nonnull FBiOSTargetPredicateForUDID(NSString * _Nonnull udid);
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
Constructs an NSPredicate matching the specified UDIDs.
|
|
58
|
+
*/
|
|
59
|
+
FOUNDATION_EXTERN NSPredicate *_Nonnull FBiOSTargetPredicateForUDIDs(NSArray<NSString *> * _Nonnull udids);
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
Constructs a future that resolves when the target resolves to a provided state.
|
|
63
|
+
*/
|
|
64
|
+
FOUNDATION_EXTERN FBFuture<NSNull *> *_Nonnull FBiOSTargetResolveState(id<FBiOSTarget> _Nonnull target, FBiOSTargetState state);
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
Constructs a future that resolves when the target leaves a provided state.
|
|
68
|
+
*/
|
|
69
|
+
FOUNDATION_EXTERN FBFuture<NSNull *> *_Nonnull FBiOSTargetResolveLeavesState(id<FBiOSTarget> _Nonnull target, FBiOSTargetState state);
|