Skip to content

Commit

Permalink
add since
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Jan 26, 2025
1 parent 4513759 commit 12e5d8b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/subcommands/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ commands.setAppearance = async function setAppearance (appearance) {
* - unsupported: The platform or runtime version do not support the Increase Contrast setting.
* - unknown: The current setting is unknown or there was an error detecting it.
*
* @since Xcode 15 (but lower xcode could have this command)
* @this {import('../simctl').Simctl}
* @return {Promise<string>} the contrast configuration value.
* Possible return value is 'enabled', 'disabled',
Expand All @@ -65,6 +66,7 @@ commands.getIncreaseContrast = async function getIncreaseContrast () {
* They would change in the future version, so please validate the given value
* in the caller side.
*
* @since Xcode 15 (but lower xcode could have this command)
* @this {import('../simctl').Simctl}
* @param {string} increaseContrast valid increase constrast configuration value.
* Acceptable value is 'enabled' or 'disabled' with Xcode 16.2.
Expand All @@ -88,6 +90,7 @@ commands.setIncreaseContrast = async function setIncreaseContrast (increaseContr
* accessibility-extra-extra-extra-large
* Other values: unknown, unsupported.
*
* @since Xcode 15 (but lower xcode could have this command)
* @this {import('../simctl').Simctl}
* @return {Promise<string>} the content size value. Possible return value is
* extra-small, small, medium, large, extra-large, extra-extra-large,
Expand Down Expand Up @@ -118,6 +121,7 @@ commands.getContentSize = async function getContentSize () {
* They would change in the future version, so please validate the given value
* in the caller side.
*
* @since Xcode 15 (but lower xcode could have this command)
* @this {import('../simctl').Simctl}
* @param {string} contentSizeAction valid content size or action value. Acceptable value is
* extra-small, small, medium, large, extra-large, extra-extra-large,
Expand Down

0 comments on commit 12e5d8b

Please sign in to comment.