बंद की गई सेवाएं/सुविधाएं
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
हर रिलीज़ के साथ, कुछ Android एपीआई पुराने हो सकते हैं या डेवलपर को बेहतर अनुभव देने या नए प्लैटफ़ॉर्म की सुविधाओं के साथ काम करने के लिए, उन्हें फिर से तैयार करना पड़ सकता है. ऐसे मामलों में, हम पुराने एपीआई को आधिकारिक तौर पर बंद कर देते हैं. साथ ही, डेवलपर को अन्य एपीआई इस्तेमाल करने का सुझाव देते हैं.
बंद करने का मतलब है कि हमने एपीआई के लिए आधिकारिक सहायता बंद कर दी है. हालांकि, ये डेवलपर के लिए उपलब्ध रहेंगे. इस पेज पर, Android के इस वर्शन में बंद की गई कुछ अहम सुविधाओं के बारे में बताया गया है. अन्य बदलावों के बारे में जानने के लिए, एपीआई के अंतर की रिपोर्ट देखें.
वर्चुअलाइज़र के बजाय स्पैशलाइज़र का इस्तेमाल करना
Spatializer
क्लास को पहली बार Android 12 (एपीआई लेवल 32) में जोड़ा गया था. इसकी मदद से, ऐप्लिकेशन डिवाइस पर साउंड स्पेसलाइज़ेशन की सुविधाओं और उनके काम करने के तरीके के बारे में क्वेरी कर सकते हैं. Android 15 में, Virtualizer
क्लास का इस्तेमाल नहीं किया जा सकता. इसके बजाय, AudioAttributes.Builder.setSpatializationBehavior
का इस्तेमाल करके बताएं कि स्पेसलाइज़ेशन की सुविधा के साथ, आपको अपना कॉन्टेंट कैसे चलाना है.
AndroidX media3 ExoPlayer 1.0, मल्टीचैनल ऑडियो के लिए डिफ़ॉल्ट रूप से स्पेशल ऑडियो की सुविधा चालू करता है. हालांकि, इसके लिए ज़रूरी है कि डिवाइस पर यह सुविधा काम करती हो. ज़्यादा जानकारी के लिए, यह
हाल ही की ब्लॉग पोस्ट और
स्पेशल ऑडियो के दस्तावेज़ देखें. इसमें, इस सुविधा को कंट्रोल करने के लिए एपीआई भी शामिल हैं.
Android WebView में WebSQL अब काम नहीं करता
setDatabaseEnabled
और getDatabaseEnabled
WebSettings
में मौजूद तरीकों की जानकारी अब काम नहीं करती. इन सेटिंग से, वेबव्यू में WebSQL के लिए सहायता चालू हो गई. WebSQL को अब Chrome से हटा दिया गया है. साथ ही, अब यह काम नहीं करता
Android वेबव्यू पर. अगले 12 महीनों में, ये तरीके Android के सभी वर्शन पर काम नहीं करेंगे.
World Wide Web Consortium (W3C) उन ऐप्लिकेशन को वेब स्टोरेज एपीआई की टेक्नोलॉजी अपनाने का सुझाव देता है जिन्हें वेब डेटाबेस की ज़रूरत होती है. इन टेक्नोलॉजी में localStorage और sessionStorage या IndexedDB शामिल हैं. ब्राउज़र में SQLite Wasm, जो ऑरिजिन प्राइवेट फ़ाइल सिस्टम के साथ काम करता है SQLite डेटाबेस पर आधारित टेक्नोलॉजी के बदले के सेट की जानकारी देता है. यह Web Assembly (Wasm) में इकट्ठा किया जाता है और ऑरिजिन प्राइवेट फ़ाइल सिस्टम के साथ काम करता है. इससे, WebSQL कोड को सीधे माइग्रेट करने की सुविधा मिलती है.
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-08-27 (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-08-27 (UTC) को अपडेट किया गया."],[],[],null,["With each release, specific Android APIs might become obsolete or need to be\nrefactored to provide a better developer experience or support new platform\ncapabilities. In these cases, we officially deprecate the obsolete APIs and\ndirect developers to alternative APIs to use instead.\n\nDeprecation means that we've ended official support for the APIs, but they will\ncontinue to remain available to developers. This page highlights some of the\nnotable deprecations in this release of Android. To see other deprecations,\nrefer to the [API diff report](/sdk/api_diff/35/changes).\n\nUse Spatializer instead of Virtualizer\n\nFirst added in Android 12 (API level 32), the [`Spatializer`](/reference/android/media/Spatializer)\nclass lets apps query the capabilities and behavior of sound spatialization on\nthe device. In Android 15, the [`Virtualizer`](/reference/android/media/audiofx/Virtualizer) class is\ndeprecated. Use\n[`AudioAttributes.Builder.setSpatializationBehavior`](/reference/android/media/AudioAttributes.Builder#setSpatializationBehavior(int)) instead\nto characterize how you want your content to be played when spatialization is\nsupported.\n\nAndroidX media3 ExoPlayer 1.0 enables spatial audio by default for multichannel\naudio when the device supports it. See this\n[recent blog post](https://android-developers.googleblog.com/2023/04/delivering-immersive-sound-experience-with-spatial-audio.html) and the\n[spatial audio documentation](/media/grow/spatial-audio#exoplayer) for more information, including\nAPIs to control the feature.\n\nWebSQL deprecated in Android WebView\n\nThe [`setDatabaseEnabled`](/reference/android/webkit/WebSettings#setDatabaseEnabled(boolean)) and [`getDatabaseEnabled`](/reference/android/webkit/WebSettings#getDatabaseEnabled())\nmethods from `WebSettings` are now deprecated. These settings activated support\nfor WebSQL inside Webview. WebSQL is now removed in Chrome and is now deprecated\non Android Webview. These methods will become a no-op on all Android versions in\nthe next 12 months.\n\nThe World Wide Web Consortium (W3C) [encourages](https://www.w3.org/TR/webdatabase/#:%7E:text=The%20Web%20Applications%20Working%20Group%20continues%20work%20on%20two%20other%20storage%2Drelated%20specifications%3A%20Web%20Storage%20and%20Indexed%20Database%20API.)\napps needing web databases to adopt [Web Storage API](https://developer.mozilla.org/docs/Web/API/Web_Storage_API)\ntechnologies like [localStorage](https://developer.mozilla.org/docs/Web/API/Window/localStorage)\nand [sessionStorage](https://developer.mozilla.org/docs/Web/API/Window/sessionStorage), or\n[IndexedDB](https://developer.mozilla.org/docs/Web/API/IndexedDB_API/Using_IndexedDB). [SQLite Wasm in the browser backed by the\nOrigin Private File System](https://developer.chrome.com/blog/sqlite-wasm-in-the-browser-backed-by-the-origin-private-file-system)\noutlines a replacement set of technologies based on the\n[SQLite](https://sqlite.org/) database,\n[compiled to Web Assembly](https://sqlite.org/wasm) (Wasm), and backed by the\n[origin private file system](https://developer.mozilla.org/docs/Web/API/File_System_Access_API#origin_private_file_system)\nto enable more [direct migration](https://developer.chrome.com/blog/from-web-sql-to-sqlite-wasm/)\nof WebSQL code."]]