forked from facebook/react-native-devtools-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreact_native_domains.pdl
More file actions
45 lines (39 loc) · 1.63 KB
/
react_native_domains.pdl
File metadata and controls
45 lines (39 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright (c) Meta Platforms, Inc. and affiliates.
# A React Native-specific domain for interacting with React Native application
# features.
experimental domain ReactNativeApplication
# Disables events from backend.
command disable
# Enables events from backend.
command enable
# Issued once after the domain is enabled. Contains metadata about the
# device, application, and debugger integration.
event metadataUpdated
parameters
# The app display name.
optional string appDisplayName
# The app bundle identifier.
optional string appIdentifier
# The device name.
optional string deviceName
# A label identifying the debugger integration.
string integrationName
# The platform name.
optional string platform
# The React Native version.
optional string reactNativeVersion
# Whether the app is a profiling build.
optional boolean unstable_isProfilingBuild
# Enables the Network Panel.
optional boolean unstable_networkInspectionEnabled
# Whether Frame Timings and screenshots are supported in performance traces.
optional boolean unstable_frameRecordingEnabled
# Emitted when assertions about the debugger backend have changed.
event systemStateChanged
parameters
# Whether the application has a single React Native host. If an app or
# framework intantiates multiple hosts, some debugger features will not
# behave safely and should be dynamically disabled.
boolean isSingleHost
# Fired when React Native requests Chrome DevTools to prepare for displaying the captured Trace.
event traceRequested