มีอะไรใหม่สำหรับ Enterprise ใน Android 14
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
หน้านี้แสดงภาพรวมของ API, ฟีเจอร์ และการเปลี่ยนแปลงลักษณะการทำงานขององค์กร
ที่เปิดตัวใน Android 14 (API ระดับ 34)
Android 14 (API ระดับ 34) เพิ่มฟิลด์ 2 รายการต่อไปนี้
ฟิลด์เหล่านี้ช่วยให้แอปส่วนตัวที่มีสิทธิ์ READ_CONTACTS
แสดงรายชื่อติดต่อและหมายเลขโทรศัพท์ทั้งหมดในโปรไฟล์งานได้ ตราบใดที่นโยบายรายชื่อติดต่อข้ามโปรไฟล์ใน DevicePolicyManager
อนุญาต
การเข้าถึงรายชื่อติดต่อข้ามโปรไฟล์
คุณตั้งค่าและค้นหานโยบายได้โดยใช้วิธีต่อไปนี้ใน
DevicePolicyManager
ซึ่งจะระบุแพ็กเกจที่ได้รับอนุญาตให้เข้าถึงรายชื่อติดต่อสำหรับงาน
จากโปรไฟล์ส่วนตัว
เมธอดเหล่านี้เข้ากันได้กับเวอร์ชันก่อนหน้าและควรใช้แทน
เมธอดต่อไปนี้ที่เลิกใช้งานแล้ว
การค้นหาหมายเลขผู้โทรข้ามโปรไฟล์
ในทำนองเดียวกัน Android 14 (API ระดับ 34) ได้เพิ่มเมธอดต่อไปนี้สำหรับการค้นหาหมายเลขผู้โทรข้ามโปรไฟล์
เมธอดเหล่านี้เข้ากันได้กับเวอร์ชันก่อนหน้าและควรใช้แทน
เมธอดต่อไปนี้ที่เลิกใช้งานแล้ว
แถบความถี่กว้างยิ่งยวด
แถบความถี่กว้างยิ่งยวด (UWB) เป็นเทคโนโลยีวิทยุที่สามารถใช้ระดับพลังงานต่ำมาก
สำหรับการสื่อสารระยะสั้นที่มีแบนด์วิดท์สูงผ่านคลื่นความถี่วิทยุ
ส่วนใหญ่
ตั้งแต่ Android 14 (API ระดับ 34) เป็นต้นไป เจ้าของอุปกรณ์หรือโปรไฟล์จะไม่อนุญาตให้ใช้
UWB ในอุปกรณ์ที่องค์กรเป็นเจ้าของได้โดยใช้ข้อจำกัดของผู้ใช้ DISALLOW_ULTRA_WIDEBAND_RADIO
ที่มี DevicePolicyManager.addUserRestriction()
การเลิกใช้งาน
Android 14 มีการเลิกใช้งาน API ที่สำคัญต่อไปนี้
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-09-03 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-09-03 UTC"],[],[],null,["This page provides an overview of the enterprise APIs, features, and behavior\nchanges introduced in Android 14 (API level 34).\n| **Note:** Members of our [Enterprise Mobility Management (EMM) partner community](https://www.androidenterprise.dev/) can find more information about EMM-impacting changes in Android 14 in the corresponding [knowledge article](https://emm.androidenterprise.dev/s/article/EMM-impacting-changes-in-Android-14) on the EMM community site.\n\nContacts\n\nAndroid 14 (API level 34) adds the following two fields:\n\n- [`ContactsContract.Contacts#ENTERPRISE_CONTENT_URI`](/reference/android/provider/ContactsContract.Contacts#ENTERPRISE_CONTENT_URI)\n- [`ContactsContract.CommonDataKinds.Phone#ENTERPRISE_CONTENT_URI`](/reference/android/provider/ContactsContract.CommonDataKinds.Phone#ENTERPRISE_CONTENT_URI)\n\nTogether, these fields allow personal apps with the [`READ_CONTACTS`](/reference/android/Manifest.permission#READ_CONTACTS)\npermission to list all work profile contacts and phone numbers as long as the\ncross-profile contacts policy in `DevicePolicyManager` allows it.\n\nCross-profile access to contacts\n\nThe policy can be set and queried using the following methods in\n`DevicePolicyManager`, which specify which packages are allowed to access work\ncontacts from the personal profile:\n\n- [`setManagedProfileContactsAccessPolicy()`](/reference/android/app/admin/DevicePolicyManager#setManagedProfileContactsAccessPolicy(android.app.admin.PackagePolicy))\n- [`getManagedProfileContactsAccessPolicy()`](/reference/android/app/admin/DevicePolicyManager#getManagedProfileContactsAccessPolicy())\n\nThese methods are backward compatible and should be used instead of the\nfollowing methods that are now deprecated:\n\n- [`setCrossProfileContactsSearchDisabled()`](/reference/android/app/admin/DevicePolicyManager#setCrossProfileContactsSearchDisabled(android.content.ComponentName,%20boolean))\n- [`getCrossProfileContactsSearchDisabled()`](/reference/android/app/admin/DevicePolicyManager#getCrossProfileContactsSearchDisabled(android.content.ComponentName))\n\nCross-profile caller ID searches\n\nSimilarly, Android 14 (API level 34) adds the following methods for\ncross-profile caller ID searches:\n\n- [`setManagedProfileCallerIdAccessPolicy()`](/reference/android/app/admin/DevicePolicyManager#setManagedProfileCallerIdAccessPolicy(android.app.admin.PackagePolicy))\n- [`getManagedProfileCallerIdAccessPolicy()`](/reference/android/app/admin/DevicePolicyManager#getManagedProfileCallerIdAccessPolicy())\n\nThese methods are backward compatible and should be used instead of the\nfollowing methods that are now deprecated:\n\n- [`getCrossProfileCallerIdDisabled()`](/reference/android/app/admin/DevicePolicyManager#getCrossProfileCallerIdDisabled(android.content.ComponentName))\n- [`setCrossProfileCallerIdDisabled()`](/reference/android/app/admin/DevicePolicyManager#setCrossProfileCallerIdDisabled(android.content.ComponentName,%20boolean))\n\nUltra wideband\n\nUltra wideband (UWB) is a radio technology that can use a very low energy level\nfor short-range, high-bandwidth communications over a large portion of the radio\nspectrum.\n\nStarting in Android 14 (API level 34), a device or profile owner can disallow\nUWB on an organization-owned device by applying the\n[`DISALLOW_ULTRA_WIDEBAND_RADIO`](/reference/android/os/UserManager#DISALLOW_ULTRA_WIDEBAND_RADIO) user restriction with\n[`DevicePolicyManager.addUserRestriction()`](/reference/android/app/admin/DevicePolicyManager#addUserRestriction(android.content.ComponentName,%20java.lang.String)).\n\nDeprecations\n\nAndroid 14 includes the following notable API deprecations:\n\n- [`DevicePolicyManager#setCrossProfileCalendarPackages`](/reference/android/app/admin/DevicePolicyManager#setCrossProfileCalendarPackages(android.content.ComponentName,%20java.util.Set%3Cjava.lang.String%3E)) and\n [`DevicePolicyManager#getCrossProfileCalendarPackages`](/reference/android/app/admin/DevicePolicyManager#getCrossProfileCalendarPackages(android.content.ComponentName)) are deprecated.\n\n Calendar apps should migrate to [connected apps](https://developers.google.com/android/work/connected-apps) and device policy\n controllers (DPCs) should use\n [`DevicePolicyManager#setCrossProfilePackages`](/reference/android/app/admin/DevicePolicyManager#setCrossProfilePackages(android.content.ComponentName,%20java.util.Set%3Cjava.lang.String%3E)) instead.\n- The following methods are deprecated:\n\n - [`DevicePolicyManager#setCrossProfileContactsSearchDisabled`](/reference/android/app/admin/DevicePolicyManager#setCrossProfileContactsSearchDisabled(android.content.ComponentName,%20boolean))\n - [`DevicePolicyManager#getCrossProfileContactsSearchDisabled`](/reference/android/app/admin/DevicePolicyManager#getCrossProfileContactsSearchDisabled(android.content.ComponentName))\n - [`DevicePolicyManager#setCrossProfileCallerIdDisabled`](/reference/android/app/admin/DevicePolicyManager#setCrossProfileCallerIdDisabled(android.content.ComponentName,%20boolean))\n - [`DevicePolicyManager#getCrossProfileCallerIdDisabled`](/reference/android/app/admin/DevicePolicyManager#getCrossProfileCallerIdDisabled(android.content.ComponentName))\n\n DPCs should use the alternative methods outlined in the preceding\n [Contacts](#contacts) section."]]