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/usage/index.html | 64 +++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 files/ja/web/api/storageestimate/usage/index.html (limited to 'files/ja/web/api/storageestimate/usage') 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