From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/api/storageestimate/index.html | 64 +++++++++++++++++++++++ files/ja/web/api/storageestimate/quota/index.html | 64 +++++++++++++++++++++++ files/ja/web/api/storageestimate/usage/index.html | 64 +++++++++++++++++++++++ 3 files changed, 192 insertions(+) create mode 100644 files/ja/web/api/storageestimate/index.html create mode 100644 files/ja/web/api/storageestimate/quota/index.html create mode 100644 files/ja/web/api/storageestimate/usage/index.html (limited to 'files/ja/web/api/storageestimate') diff --git a/files/ja/web/api/storageestimate/index.html b/files/ja/web/api/storageestimate/index.html new file mode 100644 index 0000000000..a21d3e4b6c --- /dev/null +++ b/files/ja/web/api/storageestimate/index.html @@ -0,0 +1,64 @@ +--- +title: StorageEstimate +slug: Web/API/StorageEstimate +tags: + - API + - Dictionary + - Interface + - Quotas + - Reference + - Secure context + - Storage + - Storage API + - StorageEstimate + - Usage +translation_of: Web/API/StorageEstimate +--- +
{{securecontext_header}}{{APIRef("Storage")}}
+ +

StorageEstimate ディクショナリは、サイトまたはアプリのデータストアのサイズとその使用量の概算値を提供するために {{domxref("StorageManager")}} によって使用されます。{{domxref("StorageManager.estimate", "estimate()")}} メソッドは、その {{jsxref("Promise")}} が解決されたときにこのディクショナリに適合するオブジェクトを返します。

+ +

これらの値は、パフォーマンスと、ストレージ容量データがフィンガープリント目的で使用されることの防止との両方を含む、いくつかの理由のため、単なる概算値にすぎません。詳細は各プロパティのページをご覧ください。

+ +

プロパティ

+ +
+
{{domxref("StorageEstimate.quota", "quota")}} {{securecontext_inline}}
+
ユーザーのデバイスやコンピューターがサイトオリジンやウェブアプリで使用できる合計ストレージの控えめな概算値を提供する数値。それが事実であることに頼ることはできませんが、この利用可能なスペースの量より多くがある可能性があります。
+
{{domxref("StorageEstimate.usage", "usage")}} {{securecontext_inline}}
+
quota で示される利用可能スペースのうち、サイトやウェブアプリが現在使用しているストレージスペースの量を概算する数値。
+
{{domxref("StorageEstimate.usageDetails", "usageDetails")}} {{securecontext_inline}}
+
ストレージシステムごとの usage の内訳を含むディクショナリ。含まれるメンバーはすべて 0 より大きい usage を持ち、usage が 0 のストレージシステムはすべてディクショナリから除外されます。
+
+ +

仕様

+ + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('Storage', '#dictdef-storageestimate', 'StorageEstimate')}}{{Spec2('Storage')}}初期定義
+ +

ブラウザーの互換性

+ + + +

{{Compat("api.StorageEstimate")}}

+ +

関連情報

+ + diff --git a/files/ja/web/api/storageestimate/quota/index.html b/files/ja/web/api/storageestimate/quota/index.html new file mode 100644 index 0000000000..8dff3c3883 --- /dev/null +++ b/files/ja/web/api/storageestimate/quota/index.html @@ -0,0 +1,64 @@ +--- +title: StorageEstimate.quota +slug: Web/API/StorageEstimate/quota +tags: + - API + - Property + - Quota + - Quotas + - Reference + - Secure context + - StorageEstimate +translation_of: Web/API/StorageEstimate/quota +--- +
{{securecontext_header}}{{APIRef("Storage")}}
+ +

{{domxref("StorageEstimate")}} ディクショナリの quota プロパティは、{{domxref("StorageManager.estimate()")}} を呼ぶことで得られる、オリジンやウェブアプリに割り当てられているストレージの量の控えめな概算値です。 より多くの利用可能なスペースがあるかもしれませんが、少なくなることはありません。この値は、フィンガープリンティング、つまり一見無害なプロパティの値を統合してデバイスを識別するための使用を防止するのに役立つ概算値です。

+ +

構文

+ +
quota = StorageEstimate.quota;
+
+ +

+ +

アプリで使用可能な合計ストレージ容量の概算値を指定する数値。

+ +

+ +

{{page("/ja/docs/Web/API/StorageManager/estimate", "Example")}}

+ +

仕様

+ + + + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('Storage', '#site-storage-quota', 'quota')}}{{Spec2('Storage')}}初期定義
+ +

ブラウザーの互換性

+ + + +

{{Compat("api.StorageEstimate.quota")}}

+ +

関連情報

+ + diff --git a/files/ja/web/api/storageestimate/usage/index.html b/files/ja/web/api/storageestimate/usage/index.html new file mode 100644 index 0000000000..820de4ba72 --- /dev/null +++ b/files/ja/web/api/storageestimate/usage/index.html @@ -0,0 +1,64 @@ +--- +title: StorageEstimate.usage +slug: Web/API/StorageEstimate/usage +tags: + - API + - Reference + - Secure context + - Storage + - Storage API + - StorageEstimate + - Usage +translation_of: Web/API/StorageEstimate/usage +--- +
{{securecontext_header}}{{APIRef("Storage")}}
+ +

{{domxref("StorageEstimate")}} ディクショナリの usage プロパティは、{{domxref("StorageManager.estimate()")}} を呼ぶことで得られる、オリジンやウェブアプリが使用しているストレージ量の概算値です。 {{Glossary("user agent","ユーザーエージェント")}}がストレージ効率を改善するために圧縮、複製防止技術、および他の方法を使用することがあるため、値は概算値です。

+ +

構文

+ +
usage = StorageEstimate.usage;
+
+ +

+ +

アプリが現在使用しているストレージ容量の概算値を指定する数値。

+ +

+ +

{{page("/ja/docs/Web/API/StorageManager/estimate", "Example")}}

+ +

仕様

+ + + + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('Storage', '#site-storage-usage', 'usage')}}{{Spec2('Storage')}}初期定義
+ +

ブラウザーの互換性

+ + + +

{{Compat("api.StorageEstimate.usage")}}

+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf