Home
last modified time | relevance | path

Searched refs:hasType (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Dskills.cpp806 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 DUdmfJsTest.js1100 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 Dnotification_napi.cpp435 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 Djs-apis-data-unifiedDataChannel.md273 ### 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 Djs-apis-pasteboard.md1160 ### 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 DPasteBoardSyncApiPerfJsunit.test.js229 funcWithOneparam(pasteData.hasType, pasteboard.MIMETYPE_PIXELMAP, BASE_CONUT);
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon.cpp706 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 Djs-apis-data-unifiedDataChannel.md273 ### 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 Djs-apis-pasteboard.md1158 ### 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 DREADME_ZH.md224 …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 DPasteBoardApiExceptionJsunit.test.js690 expect(pasteData1.hasType(pasteboard.MIMETYPE_TEXT_URI)).assertEqual(true);
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-misc.md186 |新增|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 Djs-apidiff-misc.md186 |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.…