mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
DeviceMeta実装WIP
This commit is contained in:
parent
6e3434b7f1
commit
c2eec8064b
|
@ -1,4 +1,21 @@
|
|||
package com.example.lacerta.data.impl;
|
||||
|
||||
public class DeviceMetaImpl {
|
||||
import com.example.lacerta.data.repository.DeviceMeta;
|
||||
|
||||
import javax.inject.Inject;
|
||||
|
||||
public class DeviceMetaImpl implements DeviceMeta{
|
||||
|
||||
@Inject
|
||||
public DeviceMetaImpl() {
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return "device_id"; // DEBUG
|
||||
}
|
||||
|
||||
public String getDeviceApiLevel() {
|
||||
return "device_api_level"; // DEBUG
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
package com.example.lacerta.data.module;
|
||||
|
||||
public class DeviceMetaModule {
|
||||
}
|
|
@ -1,4 +1,6 @@
|
|||
package com.example.lacerta.data.repository;
|
||||
|
||||
public class DeviceMeta {
|
||||
public interface DeviceMeta {
|
||||
String getDeviceId();
|
||||
String getDeviceApiLevel();
|
||||
}
|
Loading…
Reference in New Issue
Block a user