@@ -77,7 +77,7 @@ module Device
77
77
# Same as #network_connection_type in selenium-webdriver.
78
78
#
79
79
# Returns a key of <code>{:airplane_mode: 1, wifi: 2, data: 4, all: 6, none: 0}</code> in #network_connection_type
80
- # Returns a number of the mode in ` #get_network_connection`
80
+ # Returns a number of the mode in + #get_network_connection+
81
81
#
82
82
# @example
83
83
#
@@ -129,7 +129,7 @@ module Device
129
129
# Defaults to 'Done' for iOS(except for XCUITest).
130
130
# @param [Symbol] strategy The symbol of the strategy which closes the keyboard.
131
131
# XCUITest ignore this argument.
132
- # Default for iOS is ` :pressKey` . Default for Android is ` :tapOutside` .
132
+ # Default for iOS is + :pressKey+ . Default for Android is + :tapOutside+ .
133
133
#
134
134
# @example
135
135
#
@@ -154,12 +154,12 @@ module Device
154
154
# @option opts [String] :app_activity The target activity [required]
155
155
# @option opts [String] :app_wait_package The package to start before the target package [optional]
156
156
# @option opts [String] :app_wait_activity The activity to start before the target activity [optional]
157
- # @option opts [String] :intent_action The intent action to give it when start the target activity (`-a` ) [optional]
158
- # @option opts [String] :intent_category The intent category to give it when start the target activity (`-c` ) [optional]
159
- # @option opts [String] :intent_flags The intent flag to give it when start the target activity (`-f` ) [optional]
157
+ # @option opts [String] :intent_action The intent action to give it when start the target activity (+-a+ ) [optional]
158
+ # @option opts [String] :intent_category The intent category to give it when start the target activity (+-c+ ) [optional]
159
+ # @option opts [String] :intent_flags The intent flag to give it when start the target activity (+-f+ ) [optional]
160
160
# @option opts [String] :optional_intent_arguments The optional intent action to give it when start the target activity [optional]
161
161
# You can set arbitrary arguments with space as string.
162
- # e.g. ` '--ez your_extra_bool bool --ei your_extra_int 1'`
162
+ # e.g. + '--ez your_extra_bool bool --ei your_extra_int 1'+
163
163
# @option opts [bool] :dont_stop_app_on_reset Do not stop the app when the reset is called in Appium create/delete session [optional]
164
164
#
165
165
# @example
@@ -170,7 +170,7 @@ module Device
170
170
171
171
# @!method set_network_connection(mode)
172
172
# Set the device network connection mode
173
- # Same as ` #network_connection_type` in selenium-webdriver.
173
+ # Same as + #network_connection_type+ in selenium-webdriver.
174
174
#
175
175
# @param [String] mode Bit mask that represent the network mode
176
176
# Or the key matched with <code>{:airplane_mode: 1, wifi: 2, data: 4, all: 6, none: 0}</code>
@@ -204,7 +204,7 @@ module Device
204
204
# Get the resource usage information of the application.
205
205
# https://github.com/appium/appium-base-driver/blob/be29aec2318316d12b5c3295e924a5ba8f09b0fb/lib/mjsonwp/routes.js#L303
206
206
# @param [String] package_name: Package name
207
- # @param [String] data_type: Data type get with ` get_performance_data_types`
207
+ # @param [String] data_type: Data type get with + get_performance_data_types+
208
208
# @param [String] data_read_timeout: Command timeout. Default is 2.
209
209
#
210
210
# @example
@@ -220,13 +220,13 @@ module Device
220
220
# An exception will be thrown if the generated media file is too big to
221
221
# fit into the available process memory.
222
222
# This option only has an effect if there is screen recording process in progress
223
- # and ` forceRestart` parameter is not set to ` true` .
223
+ # and + forceRestart+ parameter is not set to + true+ .
224
224
# @param [String] user The name of the user for the remote authentication.
225
225
# @param [String] pass The password for the remote authentication.
226
226
# @param [String] method The http multipart upload method name. The 'PUT' one is used by default.
227
227
# @param [Boolean] force_restart Whether to try to catch and upload/return the currently running screen recording
228
- # (` false` , the default setting on server) or ignore the result of it
229
- # and start a new recording immediately (` true` ).
228
+ # (+ false+ , the default setting on server) or ignore the result of it
229
+ # and start a new recording immediately (+ true+ ).
230
230
#
231
231
# @param [String] video_size The format is widthxheight.
232
232
# The default value is the device's native display resolution (if supported),
@@ -241,7 +241,7 @@ module Device
241
241
# present then the most recent screen recording chunk is going to be returned as the result.
242
242
# @param [String] bit_rate The video bit rate for the video, in megabits per second.
243
243
# 4 Mbp/s(4000000) is by default for Android API level below 27. 20 Mb/s(20000000) for API level 27 and above.
244
- # @param [Boolean] bug_report Set it to ` true` in order to display additional information on the video overlay,
244
+ # @param [Boolean] bug_report Set it to + true+ in order to display additional information on the video overlay,
245
245
# such as a timestamp, that is helpful in videos captured to illustrate bugs.
246
246
# This option is only supported since API level 27 (Android P).
247
247
#
0 commit comments