From 62247033e946d26d5891347c33181999c856ef13 Mon Sep 17 00:00:00 2001 From: r-ca Date: Thu, 14 Dec 2023 03:14:55 +0900 Subject: [PATCH] =?UTF-8?q?utils:=20WIP=20=E3=83=AA=E3=83=9D=E3=82=B8?= =?UTF-8?q?=E3=83=88=E3=83=AA=E5=AE=9F=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lacerta/utils/repository/DeviceInfoUtils.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/utils/src/main/java/one/nem/lacerta/utils/repository/DeviceInfoUtils.java b/utils/src/main/java/one/nem/lacerta/utils/repository/DeviceInfoUtils.java index d6867cc5..46aacc18 100644 --- a/utils/src/main/java/one/nem/lacerta/utils/repository/DeviceInfoUtils.java +++ b/utils/src/main/java/one/nem/lacerta/utils/repository/DeviceInfoUtils.java @@ -1,4 +1,17 @@ package one.nem.lacerta.utils.repository; +import java.nio.file.Path; + public interface DeviceInfoUtils { + + // External storage directory + Path getExternalStorageDirectory(); + + Path getExternalStorageDirectory(String type); + + // Permission + boolean hasPermission(String permission); + + boolean hasPermissions(String[] permissions); + }