mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 17:53:14 +00:00
utils: WIP リポジトリ実装
This commit is contained in:
parent
ee448ad2e5
commit
62247033e9
|
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user