- 構文:
<attribution android:tag="string" android:label="string resource"> ... </attribution>
- 上位の要素:
<manifest>
- 説明:
- 多目的アプリを開発する場合、データアクセスを監査する際に、アプリの各部分にこのタグを適用できます。これにより、コードの論理部分までさかのぼってデータアクセスを追跡できます。
- 属性:
- 導入時の API レベル:
- API レベル 31
<attribution>
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。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,["# <attribution\u003e\n\nsyntax:\n:\n\n ```xml\n \u003cattribution android:tag=\"string\"\n android:label=\"string resource\"\u003e\n ...\n \u003c/attribution\u003e\n ```\n\ncontained in:\n: [\u003cmanifest\u003e](/guide/topics/manifest/manifest-element)\n\ndescription:\n: If you develop a multi-purpose app, you can apply this tag to each part\n of your app when you [audit its data access](/privacy-and-security/audit-data-access).\n This helps you trace data access back to logical parts of your code.\n\nattributes:\n:\n\n `android:tag`\n : A literal string that serves as a label for a particular capability of your app.\n\n `android:label`\n : A string resource that describes a particular capability of your app.\n\nintroduced in:\n: API level 31"]]