diff options
author | Anton Tananaev <anton@traccar.org> | 2024-01-15 16:36:17 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-01-15 16:36:17 -0800 |
commit | acebabc690f78921a1bc10191df092c207393415 (patch) | |
tree | 8731d43fd4e71543a09873d5a9a309052801fe47 /src/main/java/org/traccar/config | |
parent | 72cfe80fb23bb5e1d2aec2f2d2b4cfcd3662a82d (diff) | |
download | trackermap-server-acebabc690f78921a1bc10191df092c207393415.tar.gz trackermap-server-acebabc690f78921a1bc10191df092c207393415.tar.bz2 trackermap-server-acebabc690f78921a1bc10191df092c207393415.zip |
Make device sharing configurable
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r-- | src/main/java/org/traccar/config/Keys.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java index 1da68e1c0..e79264908 100644 --- a/src/main/java/org/traccar/config/Keys.java +++ b/src/main/java/org/traccar/config/Keys.java @@ -1806,6 +1806,20 @@ public final class Keys { List.of(KeyType.CONFIG)); /** + * Enable commands for a shared device. + */ + public static final ConfigKey<Boolean> WEB_SHARE_DEVICE_COMMANDS = new BooleanConfigKey( + "web.shareDevice.commands", + List.of(KeyType.CONFIG)); + + /** + * Enable reports for a shared device. + */ + public static final ConfigKey<Boolean> WEB_SHARE_DEVICE_REPORTS = new BooleanConfigKey( + "web.shareDevice.reports", + List.of(KeyType.CONFIG)); + + /** * Output logging to the standard terminal output instead of a log file. */ public static final ConfigKey<Boolean> LOGGER_CONSOLE = new BooleanConfigKey( |