Home
last modified time | relevance | path

Searched full:value (Results 1 – 25 of 3497) sorted by relevance

12345678910>>...140

/docs/zh-cn/application-dev/quick-start/
Darkts-more-cases.md113 console.log(obj.value);
122 console.log(obj.value as string);
134 (value: string): void;
141 foo((value: string) => {
142 console.log(value);
150 type I = (value: string) => void
156 foo((value: string) => {
157 console.log(value);
169 value: string = ''
171 constructor(value: string) {
[all …]
/docs/en/application-dev/reference/apis-avcodec-kit/
Dcapi-codecbase.md49 ## Media Data Key-Value Pairs
51 The tables below list the key-value pairs used to describe media data. The key type is a constant s…
55 ### Key-Value Pairs Dedicated for Capability Query
59 …ber of long-term reference (LTR) frames obtained during video encoding. The value type is int32_t.|
61 ### Common Key-value Pairs of Audio and Video
65 …. In the case of audio, data carried in **extraData** is transferred. The value type is uint8_t\*.…
66 | OH_MD_MAX_INPUT_BUFFER_COUNT | Maximum number of input buffers. The value type is int32_t. This k…
67 | OH_MD_MAX_OUTPUT_BUFFER_COUNT | Maximum number of output buffers. The value type is int32_t. This…
68 | OH_MD_KEY_BITRATE | Bit rate. The value type is int64_t. This key is used in…
69 | OH_MD_KEY_PROFILE | Encoding grading. The value type is int32_t. For details,…
[all …]
Dcapi-native-avformat-h.md40 …har *key, int32_t value)](#oh_avformat_setintvalue) | Assigns a value of the int type to a [key](c…
41 …ar *key, int64_t value)](#oh_avformat_setlongvalue) | Assigns a value of the long type to a [key](…
42 …har *key, float value)](#oh_avformat_setfloatvalue) | Assigns a value of the float type to a [key]…
43 …r *key, double value)](#oh_avformat_setdoublevalue) | Assigns a value of the double type to a [key…
44 …H_AVFormat *format, const char *key, const char *value)](#oh_avformat_setstringvalue) | Assigns a
46 …(#oh_avformat_getintvalue) | Obtains the value of the int type of a [key](capi-codecbase.md#media-…
47 …oh_avformat_getlongvalue) | Obtains the value of the long type of a [key](capi-codecbase.md#media-…
48 …h_avformat_getfloatvalue) | Obtains the value of the float type of a [key](capi-codecbase.md#media…
49 …avformat_getdoublevalue) | Obtains the value of the double type of a [key](capi-codecbase.md#media…
50 …avformat_getstringvalue) | Obtains the value of the string type of a [key](capi-codecbase.md#media…
[all …]
/docs/en/application-dev/reference/apis-basic-services-kit/common_event/
DcommonEvent-definitions.md10 - Value: **usual.event.BOOT_COMPLETED**
15 - Value: **usual.event.LOCKED_BOOT_COMPLETED**
20 - Value: **usual.event.SHUTDOWN**
25 - Value: **usual.event.BATTERY_CHANGED**
30 - Value: **usual.event.BATTERY_LOW**
35 - Value: **usual.event.BATTERY_OKAY**
40 - Value: **usual.event.POWER_CONNECTED**
46 - Value: **usual.event.POWER_DISCONNECTED**
52 - Value: **usual.event.SCREEN_OFF**
58 - Value: **usual.event.SCREEN_ON**
[all …]
/docs/zh-cn/application-dev/reference/apis-basic-services-kit/
Djs-apis-device-info.md73 // 输出结果:the value of the deviceType is :wearable
74 console.info('the value of the deviceType is :' + deviceTypeInfo);
77 // 输出结果:the value of the manufacture is :HUAWEI
78 console.info('the value of the manufactureInfo is :' + manufactureInfo);
81 // 输出结果:the value of the brand is :HUAWEI
82 console.info('the value of the device brand is :' + brandInfo);
85 // 输出结果:the value of the marketName is :Mate XX
86 console.info('the value of the deviceInfo marketName is :' + marketNameInfo);
89 // 输出结果:the value of the productSeries is :TAS
90 console.info('the value of the deviceInfo productSeries is :' + productSeriesInfo);
[all …]
/docs/en/application-dev/reference/apis-basic-services-kit/
Djs-apis-device-info.md8 > Some parameters whose return value is the default value are not yet available.
45 …e value is the first digit in **osFullName**. You are advised to use **deviceInfo.majorVersion** i…
46value is the second digit in **osFullName**. You are advised to use **deviceInfo.seniorVersion** …
47value is the third digit in **osFullName**. You are advised to use **deviceInfo.featureVersion** …
48 …e value is the fourth digit in **osFullName**. You are advised to use **deviceInfo.buildVersion** …
63 … one device.<br>An ODID is generated based on the following rules:<br>The value is generated based…
73 // Output: the value of the deviceType is :wearable
74 console.info('the value of the deviceType is :' + deviceTypeInfo);
77 // Output: the value of the manufacture is :HUAWEI
78 console.info('the value of the manufactureInfo is :' + manufactureInfo);
[all …]
/docs/en/application-dev/quick-start/
Darkts-more-cases.md70 ### Marking JSON.parse Return Value Type
113 console.log(obj.value);
122 console.log(obj.value as string);
134 (value: string): void;
141 foo((value: string) => {
142 console.log(value);
150 type I = (value: string) => void
156 foo((value: string) => {
157 console.log(value);
169 value: string = ''
[all …]
Dmodule-structure.md13 | Name| Description| Data Type| Initial Value Allowed|
15 …ident process is started, the **mainAbility** is started.| String| Yes (initial value: left empty)|
16 … application. The value is a string with a maximum of 127 bytes, in the reverse domain name notati…
17value is a string with a maximum of 255 bytes, in the reverse domain name notation. The prefix mus…
18value is a string with a maximum of 255 bytes. If the value exceeds the limit or needs to support …
19 … This attribute applies only to telematics devices.| String array| Yes (initial value: left empty)|
22 |metaData | Metadata of the HAP file.| Object| Yes (initial value: left empty)|
23 …n the current module. The value is an array of objects, each of which represents an ability.| Obje…
24 …eveloped using ArkUI. The value is an array of objects, each of which represents a JS module.| Obj…
25 …f the application. The value is an array of objects, each of which represents a shortcut object.| …
[all …]
/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.1.0.43/
Dchangelogs-arkui.md23 @Local value: string = 'Hi !';
27 Text(this.value)
30 Star({ value: this.value!!, $value: (val: string) => { this.value += val; }})
37 @Param value: string = 'Hi !';
38 @Event $value: (val: string) => void = (val: string) => {};
42 Text(this.value)
44 Button('click me to change value')
46 this.$value('hello');
75 使用双向绑定范式this.value!!,同时给对应的$value方法传递参数$value: (val: string) => { this.value += val; }。
81 @Local value: string = 'Hi !';
[all …]
/docs/en/application-dev/reference/apis-media-kit/
Dcapi-avplayer-base-h.md55 | const char * OH_PLAYER_STATE | Pointer to the key for obtaining the AVPlayer state. The value is …
56 …ey for obtaining the AVPlayer state change reason. The value is of the int32_t type.<br>The value
57 | const char * OH_PLAYER_VOLUME | Pointer to the key for obtaining the volume. The value type is fl…
58 …_BITRATE_ARRAY | Pointer to the key for obtaining the bit rate array. The value is of the uint8_t …
59 …_TYPE | Pointer to the key for obtaining the audio interruption type. The value is of the int32_t …
60 …ointer to the key for obtaining the FORCE type of audio interruption. The value is of the int32_t …
61 …Pointer to the key for obtaining the HINT type of audio interruption. The value is of the int32_t …
62 …ON | Pointer to the key for obtaining the audio device change reason. The value is of the int32_t …
63value type is [AVPlayerBufferingType](capi-avplayer-base-h.md#avplayerbufferingtype).<br>When this…
64 …UFFERING_VALUE | Pointer to the key for obtaining the value of the buffer update message. The valu…
[all …]
/docs/zh-cn/application-dev/reference/apis-arkui/
Dcapi-native-node-h.md65 …_GetNumberValue(ArkUI_NodeEvent* event, int32_t index, ArkUI_NumberValue* value)](#oh_arkui_nodeev…
67 | [int32_t OH_ArkUI_NodeEvent_SetReturnNumberValue(ArkUI_NodeEvent* event, ArkUI_NumberValue* value
113 …ls_AddCustomProperty(ArkUI_NodeHandle node, const char* name, const char* value)](#oh_arkui_nodeut…
229 …tem.md)格式:<br> .value[0].f32:宽度数值,单位为vp;<br>属性获取方法返回值[ArkUI_AttributeItem](capi-arkui-nativemodule…
230 …tem.md)格式:<br> .value[0].f32:高度数值,单位为vp;<br> 属性获取方法返回值[ArkUI_AttributeItem](capi-arkui-nativemodul…
231 …r> .value[0].u32:背景色数值,0xargb格式,形如 0xFFFF0000 表示红色;<br> 属性获取方法返回值[ArkUI_AttributeItem](capi-arkui-…
232value[0]?.i32:可选值,repeat参数,参数类型[ArkUI_ImageRepeat](capi-native-type-h.md#arkui_imagerepeat),默认值为AR…
233value[0].f32:内间距数值,单位为vp;<br> 2:分别指定上下左右四个位置的内间距值。<br> .value[0].f32:上内间距数值,单位为vp;<br> .value[1].f…
235 …)格式:<br> .value[0].i32:false表示不可交互,true表示可交互;<br> 属性获取方法返回值[ArkUI_AttributeItem](capi-arkui-native…
236value[0].f32:外间距数值,单位为vp;<br> 2:分别指定上下左右四个位置的外间距值。<br> .value[0].f32:上外间距数值,单位为vp;<br> .value[1].f…
[all …]
/docs/en/application-dev/reference/apis-arkui/arkui-ts/
Dts-drawing-components-rect.md42 …th. The value must be greater than or equal to 0.<br>Default value: **0**<br>Default unit: vp<br>A…
43 …ht. The value must be greater than or equal to 0.<br>Default value: **0**<br>Default unit: vp<br>A…
44value must be greater than or equal to 0. <br>This property takes precedence over **radiusWidth** …
57 …th. The value must be greater than or equal to 0.<br>Default value: **0**<br>Default unit: vp<br>A…
58 …ht. The value must be greater than or equal to 0.<br>Default value: **0**<br>Default unit: vp<br>A…
59value must be greater than or equal to 0.<br>Default value: **0**<br>Default unit: vp<br>An invali…
60value must be greater than or equal to 0.<br>Default value: **0**<br>Default unit: vp<br>An invali…
68 radiusWidth(value: number | string)
70 …t of the rounded corner is the same as its width. An invalid value is handled as the default value.
82 | value | number \| string | Yes | Width of the rounded corner. The value must be greater than or…
[all …]
Dts-drawing-components-circle.md17 Circle(value?: CircleOptions)
29 | value | [CircleOptions](#circleoptions) | No| Options of the circle.|
41 …le. The value must be greater than or equal to 0.<br>Default value: **0**<br>Default unit: vp<br>A…
42 …le. The value must be greater than or equal to 0.<br>Default value: **0**<br>Default unit: vp<br>A…
50 fill(value: ResourceColor)
52 Sets the color of the fill area. An invalid value is handled as the default value. If this attribut…
62 | value | [ResourceColor](ts-types.md#resourcecolor) | Yes | Color of the fill area.<br>Default v…
66 fillOpacity(value: number | string | Resource)
68value range is [0.0, 1.0]. A value less than 0.0 evaluates to the value **0.0**. A value greater t…
78 | value | number \| string \| [Resource](ts-types.md#resource) | Yes | Opacity of the fill area.<…
[all …]
Dts-pixel-units.md15 …le.md#pages)). For example, if **designWidth** is set to **720** (default value), then 1 lpx is eq…
30value : number) : number | Converts a value in units of vp to a value in units of px.<br>Value ra…
31value : number) : number | Converts a value in units of px to a value in units of vp.<br>Value ra…
32value : number) : number | Converts a value in units of fp to a value in units of px.<br>Value ra…
33value : number) : number | Converts a value in units of px to a value in units of fp.<br>Value ra…
34value : number) : number | Converts a value in units of lpx to a value in units of px.<br>Value ra…
35value : number) : number | Converts a value in units of px to a value in units of lpx.<br>Value ra…
Dts-drawing-components-ellipse.md42 …th. The value must be greater than or equal to 0.<br>Default value: **0**<br>Default unit: vp<br>A…
43 …ht. The value must be greater than or equal to 0.<br>Default value: **0**<br>Default unit: vp<br>A…
51 fill(value: ResourceColor)
53 Sets the color of the fill area. An invalid value is handled as the default value. If this attribut…
65 | value | [ResourceColor](ts-types.md#resourcecolor) | Yes | Color of the fill area.<br>Default v…
69 fillOpacity(value: number | string | Resource)
71value range is [0.0, 1.0]. A value less than 0.0 evaluates to the value **0.0**. A value greater t…
83 | value | number \| string \| [Resource](ts-types.md#resource) | Yes | Opacity of the fill area.<…
87 stroke(value: ResourceColor)
89 …this attribute is not set, the component does not have any stroke. If the value is invalid, no str…
[all …]
Dohos-arkui-advanced-SelectTitleBar.md40 …e index of the first item is 0. If this attribute is not set, the default value **0** will be used…
44Value for the badge.<br>Value range: [-2147483648, 2147483647].<br>If the value is out of the rang…
45 …| - | Whether to hide the back arrow on the left.<br>Default value: **false**. <br>The value **tru…
58 | value | [ResourceStr](ts-types.md#resourcestr) | Yes| Icon resource.<br>**Atomic service API**: T…
59 …modifier.md) | No| Symbol icon resource, which has higher priority than **value**.<br>**Atomic ser…
61 | isEnabled | boolean | No| Whether to enable the item.<br>Default value: **false**. <br>The value
63 … child components can be recognized by accessibility services.<br>Default value: **"auto"**<br>**A…
64 …lity text, informing the user which component is selected.<br>Default value: value of the **label*…
65 …en the accessible description, when the component is selected.<br>Default value: **"Double-tap to …
85 value: $r('sys.media.ohos_save_button_filled'),
[all …]
Dts-basic-components-slider.md43value | number | No| Current progress.<br>Default value: same as the value of **min**<br>Since API…
44 | min | number | No| Minimum value.<br>Default value: **0**|
45value.<br>Default value: **100**<br>**NOTE**<br>If the value of **min** is greater than or equal t…
46value: **1**<br>Value range: [0.01, max - min]<br>**NOTE**<br>If this parameter is set to a value
47 | style | [SliderStyle](#sliderstyle) | No| Style of the slider thumb and track.<br>Default value: …
48 …is) | No| Whether the slider moves horizontally or vertically.<br>Default value: **Axis.Horizontal…
49 | reverse<sup>8+</sup> | boolean | No| Whether the slider values are reversed.<br>Default value: **…
66 ….OutSet** is used, it applies 9 vp (half of the [blockSize](#blocksize10) value) margins on both l…
75 blockColor(value: ResourceColor)
95 | value | [ResourceColor](ts-types.md#resourcecolor) | Yes | Color of the thumb.<br>Default value
[all …]
Dts-container-sidebarcontainer.md35 …ype](#sidebarcontainertype) | No| Display type of the sidebar.<br>Default value: **SideBarContaine…
47 …<br>If **minSideBarWidth** or **minContentWidth** is not set, the default value will be used for c…
49 … the default value will be used for calculation. If the calculation result is less than 600 vp, 60…
57 showSideBar(value: boolean)
71value | boolean | Yes | Whether to display the sidebar.<br>**true**: The sidebar is displayed.<b…
75 controlButton(value: ButtonStyle)
87 | value | [ButtonStyle](#buttonstyle) | Yes | Attributes of the sidebar control button.|
91 showControlButton(value: boolean)
103value | boolean | Yes | Whether to display the sidebar control button.<br>**true**: The sidebar …
107 sideBarWidth(value: number)
[all …]
Dts-drawing-components-polygon.md42 …h. The value must be greater than or equal to 0.<br>Default value: **0**.<br>Default unit: vp.<br>…
43 …t. The value must be greater than or equal to 0.<br>Default value: **0**.<br>Default unit: vp.<br>…
51 points(value: Array&lt;Point&gt;)
53 Sets the vertex coordinates of the polygon. Invalid values are treated as the default value.
65 | value | Array&lt;[Point](ts-drawing-components-polyline.md#point)&gt; | Yes | Vertex coordinate…
69 fill(value: ResourceColor)
71 Sets the color of the fill area. Invalid values are treated as the default value. If this attribute…
83 | value | [ResourceColor](ts-types.md#resourcecolor) | Yes | Color of the fill area.<br>Default v…
87 fillOpacity(value: number | string | Resource)
89 …rea. The value range is [0.0, 1.0]. A value less than 0.0 is treated as **0.0**. A value greater t…
[all …]
/docs/en/application-dev/reference/apis-performance-analysis-kit/
Djs-apis-faultLogger.md3 …e APIs use the application bundle name and the UID allocated by the system as the unique key value.
23 | Name| Value| Description|
60 …ed to return the fault information array.<br>**value** is the fault information array obtained. If…
78 function queryFaultLogCallback(error: BusinessError, value: Array<FaultLogger.FaultLogInfo>) {
82 console.info("value length is " + value.length);
83 let len: number = value.length;
86 console.info("Log pid: " + value[i].pid);
87 console.info("Log uid: " + value[i].uid);
88 console.info("Log type: " + value[i].type);
89 console.info("Log timestamp: " + value[i].timestamp);
[all …]
/docs/en/application-dev/napi/
Duse-napi-about-primitive.md11value into a C/C++ integer and convert an ArkTS string into a C/C++ string array. You can also con…
18 | napi_coerce_to_bool | Forcibly converts an ArkTS value to an ArkTS Boolean value.|
19 | napi_coerce_to_number | Forcibly converts an ArkTS value to an ArkTS number.|
20 | napi_coerce_to_object | Forcibly converts an ArkTS value to an ArkTS object.|
21 | napi_coerce_to_string | Forcibly converts an ArkTS value to an ArkTS string.|
22 | napi_get_boolean | Obtains the ArkTS Boolean value based on the given C Boolean value.|
23 | napi_get_value_bool | Obtains the C/C++ equivalent of the given ArkTS Boolean value.|
34 Call **napi_coerce_to_bool** to forcibly convert an ArkTS value to an ArkTS Boolean value.
47 // Convert the input value to a Boolean value.
50 // Return the ArkTS boolean value.
[all …]
/docs/zh-cn/application-dev/reference/apis-performance-analysis-kit/
Djs-apis-faultLogger.md84 function queryFaultLogCallback(error: BusinessError, value: Array<FaultLogger.FaultLogInfo>) {
88 console.info("value length is " + value.length);
89 let len: number = value.length;
92 console.info(`Log pid: ${value[i].pid}`);
93 console.info(`Log uid: ${value[i].uid}`);
94 console.info(`Log type: ${value[i].type}`);
95 console.info(`Log timestamp: ${value[i].timestamp}`);
96 console.info(`Log reason: ${value[i].reason}`);
97 console.info(`Log module: ${value[i].module}`);
98 console.info(`Log summary: ${value[i].summary}`);
[all …]
/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
Dohos-arkui-advanced-SelectTitleBar.md67 | value | [ResourceStr](ts-types.md#resourcestr) | 是 | 图标资源。<br/>**原子化服务API:** 从API version 11开始,该接…
94 value: $r('sys.media.ohos_save_button_filled'),
101 value: $r('sys.media.ohos_ic_public_copy'),
106 value: $r('sys.media.ohos_ic_public_edit'),
111 value: $r('sys.media.ohos_ic_public_remove'),
124 { value: '所有照片' },
125 { value: '本地(设备)' },
126 { value: '本地本地本地本地本地(储存卡)' }
138 { value: '所有照片' },
139 { value: '本地(设备)' },
[all …]
/docs/en/application-dev/reference/apis-arkts/
Djs-apis-fastbuffer.md55 | size | number | Yes| Size of the **FastBuffer** object to create, in bytes. Value range: 0 <= siz…
56 …&nbsp;\|&nbsp;FastBuffer&nbsp;\|&nbsp;number | No| Value to be filled in the buffer. The default v…
57 …| No| Encoding format (valid only when **fill** is a string). The default value is **'utf8'**. If …
59 **Return value**
95 | size | number | Yes| Size of the **FastBuffer** object to create, in bytes. Value range: 0 <= siz…
97 **Return value**
129 | size | number | Yes|Size of the **FastBuffer** object to create, in bytes. Value range: 0 <= size…
131 **Return value**
149 byteLength(value: string | FastBuffer | TypedArray | DataView | ArrayBuffer | SharedArrayBuffer, en…
161 | value | string&nbsp;\|&nbsp;FastBuffer&nbsp;\|&nbsp;TypedArray&nbsp;\|&nbsp;DataView&nbsp;\|&nbsp…
[all …]
/docs/en/application-dev/reference/apis-arkui/
D_ark_u_i___native_module.md132 …ilityValue](#arkui_accessibilityvalue) | Defines a struct for the component accessibility value. |
205 …OUTER_FLOATING_SM, ARKUI_SHADOW_STYLE_OUTER_FLOATING_MD<br>} | Enumerated value of the shadow effe…
322 …cedNumber) | Sets the count on the badge. The settings will overwrite the value in the **SetDragPr…
358 …tduration) ([ArkUI_AnimateOption](#arkui_animateoption) \*option, int32_t value) | Sets the animat…
359 …on_settempo) ([ArkUI_AnimateOption](#arkui_animateoption) \*option, float value) | Sets the playba…
360 …ui_animateoption) \*option, [ArkUI_AnimationCurve](#arkui_animationcurve) value) | Animation curve…
361 …_setdelay) ([ArkUI_AnimateOption](#arkui_animateoption) \*option, int32_t value) | Sets the animat…
362 …terations) ([ArkUI_AnimateOption](#arkui_animateoption) \*option, int32_t value) | Number of times…
363 …mateoption) \*option, [ArkUI_AnimationPlayMode](#arkui_animationplaymode) value) | Sets the playba…
364 …[ArkUI_ExpectedFrameRateRange](_ark_u_i___expected_frame_rate_range.md) \*value) | Defines the exp…
[all …]

12345678910>>...140