- सिंटैक्स:
<permission-group android:description="string resource" android:icon="drawable resource" android:label="string resource" android:name="string" />
- इसमें शामिल है:
<manifest>
- विवरण:
- मिलती-जुलती अनुमतियों के लॉजिकल ग्रुप के लिए नाम बताता है. व्यक्ति
अनुमतियां इसकी
permissionGroup
विशेषता के ज़रिए समूह में शामिल होती हैं:<permission>
एलिमेंट. ग्रुप के सदस्य ये हैं यूज़र इंटरफ़ेस में एक साथ प्रस्तुत किया जाता है.यह एलिमेंट किसी अनुमति के बारे में नहीं बताता. यह सिर्फ़ एक कैटगरी है जिसमें अनुमतियां दी जा सकती हैं. अनुमतियों का एलान करने और उन्हें ग्रुप को असाइन करने के बारे में जानने के लिए, देखें
<permission>
एलिमेंट. - विशेषताएं:
android:description
- ग्रुप के बारे में जानकारी देने वाला ऐसा टेक्स्ट जिसे उपयोगकर्ता पढ़ सकता है. यह टेक्स्ट है
उससे ज़्यादा समय लगता है. इस एट्रिब्यूट की वैल्यू
को स्ट्रिंग संसाधन के रेफ़रंस के तौर पर सेट किया जा सकता है.
label
को नापसंद करें एट्रिब्यूट के लिए है, तो यह कोई रॉ स्ट्रिंग नहीं हो सकती. android:icon
- अनुमति दिखाने वाला आइकॉन. यह एट्रिब्यूट सेट करना ज़रूरी है ड्रॉइंग टूल के रेफ़रंस के तौर पर सबमिट किया जा सकता है, जिसमें इमेज की परिभाषा शामिल होती है.
android:label
- ग्रुप के लिए ऐसा नाम जिसे उपयोगकर्ता आसानी से पढ़ सके. सुविधा के लिए, लेबल ऐप्लिकेशन को डेवलप करते समय, सीधे रॉ स्ट्रिंग के तौर पर सेट किया जा सकता है. हालांकि, जब ऐप्लिकेशन पब्लिश किए जाने के लिए तैयार हो, तो उसे सेट करें ताकि उसे स्थानीय भाषा में लिखा जा सके. स्ट्रिंग होती हैं.
android:name
- ग्रुप का नाम. यह वह नाम है जिसे किसी
<permission>
अभी तक किसी भी व्यक्ति ने चेक इन नहीं किया है एलिमेंट काandroid:permissionGroup
एट्रिब्यूट की वैल्यू सबमिट करें.
- इसमें पेश किया गया:
- एपीआई लेवल 1
- यह भी देखें:
<permission>
<permission-tree>
<uses-permission>
<अनुमति-ग्रुप>
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-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-07-27 (UTC) को अपडेट किया गया."],[],[],null,["# <permission-group\u003e\n\nsyntax:\n:\n\n ```xml\n \u003cpermission-group android:description=\"string resource\"\n android:icon=\"drawable resource\"\n android:label=\"string resource\"\n android:name=\"string\" /\u003e\n ```\n\ncontained in:\n: [\u003cmanifest\u003e](/guide/topics/manifest/manifest-element)\n\ndescription:\n: Declares a name for a logical grouping of related permissions. Individual\n permissions join the group through the `permissionGroup` attribute of the\n [\u003cpermission\u003e](/guide/topics/manifest/permission-element) element. Members of a group are\n presented together in the user interface.\n\n\n This element doesn't declare a permission itself, only a category in which permissions can be placed.\n For information about declaring permissions and assigning them to groups, see the\n [\u003cpermission\u003e](/guide/topics/manifest/permission-element) element.\n\nattributes:\n:\n\n `android:description`\n : User-readable text that describes the group. The text is\n longer and more explanatory than the label. This attribute must be\n set as a reference to a string resource. Unlike the `label`\n attribute, it can't be a raw string.\n\n `android:icon`\n : An icon representing the permission. This attribute must be set\n as a reference to a drawable resource containing the image definition.\n\n `android:label`\n : A user-readable name for the group. As a convenience, the label\n can be directly set as a raw string while you're developing the application.\n However, when the application is ready to be published, set it\n as a reference to a string resource, so that it can be localized like other\n strings in the user interface.\n\n `android:name`\n : The name of the group. This is the name that can be assigned to a\n [\u003cpermission\u003e](/guide/topics/manifest/permission-element)\n element's\n [android:permissionGroup](/guide/topics/manifest/permission-element#pgroup)\n attribute.\n\nintroduced in:\n: API level 1\n\nsee also:\n: [\u003cpermission\u003e](/guide/topics/manifest/permission-element)\n\n [\u003cpermission-tree\u003e](/guide/topics/manifest/permission-tree-element)\n\n [\u003cuses-permission\u003e](/guide/topics/manifest/uses-permission-element)"]]