mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
utils: WIP リポジトリ実装
This commit is contained in:
1 file changed
+13
@@ -1,4 +1,17 @@
|
|||||||
package one.nem.lacerta.utils.repository;
|
package one.nem.lacerta.utils.repository;
|
||||||
|
|
||||||
|
import java.nio.file.Path;
|
||||||
|
|
||||||
public interface DeviceInfoUtils {
|
public interface DeviceInfoUtils {
|
||||||
|
|
||||||
|
// External storage directory
|
||||||
|
Path getExternalStorageDirectory();
|
||||||
|
|
||||||
|
Path getExternalStorageDirectory(String type);
|
||||||
|
|
||||||
|
// Permission
|
||||||
|
boolean hasPermission(String permission);
|
||||||
|
|
||||||
|
boolean hasPermissions(String[] permissions);
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user