Searched refs:hasType (Results 1 – 13 of 13) sorted by relevance
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/want/src/ |
H A D | skills.cpp | 806 auto hasType = in FindMimeType() local 808 if (hasPartialTypes_ && hasType != types.end()) { in FindMimeType() 820 hasType = std::find_if(types.begin(), types.end(), [&typeSubstr](const PatternsMatcher pm) { in FindMimeType() 823 if (hasPartialTypes_ && hasType != types.end()) { in FindMimeType()
|
/ohos5.0/foundation/distributeddatamgr/udmf/framework/jskitsimpl/unittest/ |
H A D | UdmfJsTest.js | 1100 expect(unifiedData.hasType(textType)).assertEqual(true); 1101 expect(unifiedData.hasType(htmlType)).assertEqual(false); 1102 expect(unifiedData.hasType(plaintextType)).assertEqual(false); 1109 expect(unifiedData.hasType(textType)).assertEqual(true); 1110 expect(unifiedData.hasType(htmlType)).assertEqual(true); 1111 expect(unifiedData.hasType(plaintextType)).assertEqual(false);
|
/ohos5.0/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi.cpp | 435 bool hasType = false; in GetNotificationSlot() local 440 NAPI_CALL(env, napi_has_named_property(env, value, "type", &hasType)); in GetNotificationSlot() 448 } else if (!hasNotificationType && hasType) { in GetNotificationSlot()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/ |
H A D | js-apis-data-unifiedDataChannel.md | 273 ### hasType<sup>12+</sup> 275 hasType(type: string): boolean 314 let hasPlainText = unifiedData.hasType(uniformTypeDescriptor.UniformDataType.PLAIN_TEXT); 315 let hasLink = unifiedData.hasType(uniformTypeDescriptor.UniformDataType.HYPERLINK);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/ |
H A D | js-apis-pasteboard.md | 1160 ### hasType<sup>9+</sup> 1162 hasType(mimeType: string): boolean 1194 let hasType: boolean = pasteData.hasType(pasteboard.MIMETYPE_TEXT_PLAIN); 1464 > 从 API Version 7 开始支持,从 API Version 9 开始废弃,建议使用[hasType](#hastype9)替代。 1492 let hasType: boolean = pasteData.hasMimeType(pasteboard.MIMETYPE_TEXT_PLAIN);
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/test/unittest/pasteboardperf/ |
H A D | PasteBoardSyncApiPerfJsunit.test.js | 229 funcWithOneparam(pasteData.hasType, pasteboard.MIMETYPE_PIXELMAP, BASE_CONUT);
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common.cpp | 706 bool hasType = false; in GetNotificationSlot() local 711 NAPI_CALL(env, napi_has_named_property(env, value, "type", &hasType)); in GetNotificationSlot() 719 } else if (!hasNotificationType && hasType) { in GetNotificationSlot()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkdata/ |
H A D | js-apis-data-unifiedDataChannel.md | 273 ### hasType<sup>12+</sup> 275 hasType(type: string): boolean 314 let hasPlainText = unifiedData.hasType(uniformTypeDescriptor.UniformDataType.PLAIN_TEXT); 315 let hasLink = unifiedData.hasType(uniformTypeDescriptor.UniformDataType.HYPERLINK);
|
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/ |
H A D | js-apis-pasteboard.md | 1158 ### hasType<sup>9+</sup> 1160 hasType(mimeType: string): boolean 1192 let hasType: boolean = pasteData.hasType(pasteboard.MIMETYPE_TEXT_PLAIN); 1462 …ince API version 7 and deprecated since API version 9. You are advised to use [hasType](#hastype9). 1490 let hasType: boolean = pasteData.hasMimeType(pasteboard.MIMETYPE_TEXT_PLAIN);
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/ |
H A D | README_ZH.md | 224 …ers="mcps1.2.3.1.1 "><p id="p1893413268144"><a name="p1893413268144"></a>hasType(mimeType: string)… 680 var hasType = pasteData.hasType(pasteboard.MIMETYPE_TEXT_PLAIN);
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/test/unittest/pasteboardapi/ |
H A D | PasteBoardApiExceptionJsunit.test.js | 690 expect(pasteData1.hasType(pasteboard.MIMETYPE_TEXT_URI)).assertEqual(true);
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-misc.md | 186 |新增|NA|类名:PasteData;<br>方法or属性:hasType(mimeType: string): boolean;|@ohos.pasteboard.d.ts| 278 …meType: string): boolean;<br>新版本信息:9<br>代替接口: ohos.pasteboard.pasteboard#hasType|@ohos.pasteboard.…
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-misc.md | 186 |Added|NA|Class name: PasteData;<br>Method or attribute name: hasType(mimeType: string): boolean;|@… 278 …boolean;<br>New version: 9<br>Substitute API: ohos.pasteboard.pasteboard#hasType|@ohos.pasteboard.…
|