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); + }