Package server.netsiddev
Klasse SIDDeviceSettings
java.lang.Object
server.netsiddev.SIDDeviceSettings
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprivate static final Stringprivate static final Stringprivate static final SIDDeviceSettingsprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate Properties -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanintintbooleanstatic SIDDeviceSettingsgetInstance gets the instance of SIDDeviceSettingsintintintdoublebooleanvoidload()voidsave()voidsaveAllowExternalConnections(boolean allowExternalConnections) voidsaveAudioBufferSize(Integer audioBufferSize) voidsaveDeviceIndex(Integer deviceIndex) voidsaveDigiBoost(boolean digiBoost) voidsaveWhatsSidCaptureTime(int whatsSidCaptureTime) voidsaveWhatsSidConnectionTimeout(int whatsSidConnectionTimeout) voidsaveWhatsSidEnable(boolean whatsSidEnable) voidsaveWhatsSidMatchRetryTime(int whatsSidMatchRetryTime) voidsaveWhatsSidMinimumRelativeConfidence(double whatsSidMinimumRelativeConfidence) voidsaveWhatsSidPassword(String whatsSidPassword) voidsaveWhatsSidUrl(String whatsSidUrl) voidsaveWhatsSidUsername(String whatsSidUsername)
-
Felddetails
-
FILE_NAME_PROPERTIES
- Siehe auch:
-
PROPERTY_DEVICE_INDEX
- Siehe auch:
-
PROPERTY_DIGI_BOOST
- Siehe auch:
-
PROPERTY_WHATSSID_URL
- Siehe auch:
-
PROPERTY_WHATSSID_ENABLE
- Siehe auch:
-
PROPERTY_WHATSSID_USERNAME
- Siehe auch:
-
PROPERTY_WHATSSID_PASSWORD
- Siehe auch:
-
PROPERTY_WHATSSID_CONNECTION_TIMEOUT
- Siehe auch:
-
PROPERTY_WHATSSID_CAPTURE_TIME
- Siehe auch:
-
PROPERTY_WHATSSID_MATCH_RETRY_TIME
- Siehe auch:
-
PROPERTY_WHATSSID_MINIMUM_RELATIVE_CONFIDENCE
- Siehe auch:
-
PROPERTY_AUDIO_BUFFER_SIZE
- Siehe auch:
-
ALLOW_EXTERNAL_CONNECTIONS
- Siehe auch:
-
PROPERTY_DEVICE_INDEX_COMMENT
- Siehe auch:
-
instance
-
props
-
-
Konstruktordetails
-
SIDDeviceSettings
private SIDDeviceSettings()
-
-
Methodendetails
-
getInstance
getInstance gets the instance of SIDDeviceSettings- Gibt zurück:
- instance of SIDDeviceSettings
-
getDeviceIndex
public int getDeviceIndex()- Gibt zurück:
- device index. If not found then null is returned.
-
getAudioBufferSize
public int getAudioBufferSize()- Gibt zurück:
- device index. If not found then null is returned.
-
getDigiBoostEnabled
public boolean getDigiBoostEnabled()- Gibt zurück:
- digi boost value from the settings.
-
isWhatsSidEnable
public boolean isWhatsSidEnable()- Gibt zurück:
- WhatsSID enable from the settings.
-
getWhatsSidUrl
- Gibt zurück:
- WhatsSID URL from the settings.
-
getWhatsSidUsername
- Gibt zurück:
- WhatsSID username from the settings.
-
getWhatsSidPassword
- Gibt zurück:
- WhatsSID password from the settings.
-
getWhatsSidConnectionTimeout
public int getWhatsSidConnectionTimeout()- Gibt zurück:
- WhatsSID connection timeout from the settings.
-
getWhatsSidCaptureTime
public int getWhatsSidCaptureTime()- Gibt zurück:
- WhatsSID capture time from the settings.
-
getWhatsSidMatchRetryTime
public int getWhatsSidMatchRetryTime()- Gibt zurück:
- WhatsSID match retry time from the settings.
-
getWhatsSidMinimumRelativeConfidence
public double getWhatsSidMinimumRelativeConfidence()- Gibt zurück:
- WhatsSID match retry time from the settings.
-
getAllowExternalConnections
public boolean getAllowExternalConnections()- Gibt zurück:
- if external connections are allowed.
-
saveDeviceIndex
- Parameter:
deviceIndex- the device index to be saved
-
saveAudioBufferSize
- Parameter:
audioBufferSize- the audio buffer size to be saved
-
saveDigiBoost
public void saveDigiBoost(boolean digiBoost) - Parameter:
digiBoost- specifies if digiBoost should be enabled for 8580 model
-
saveWhatsSidEnable
public void saveWhatsSidEnable(boolean whatsSidEnable) -
saveWhatsSidUrl
-
saveWhatsSidUsername
-
saveWhatsSidPassword
-
saveWhatsSidConnectionTimeout
public void saveWhatsSidConnectionTimeout(int whatsSidConnectionTimeout) -
saveWhatsSidCaptureTime
public void saveWhatsSidCaptureTime(int whatsSidCaptureTime) -
saveWhatsSidMatchRetryTime
public void saveWhatsSidMatchRetryTime(int whatsSidMatchRetryTime) -
saveWhatsSidMinimumRelativeConfidence
public void saveWhatsSidMinimumRelativeConfidence(double whatsSidMinimumRelativeConfidence) -
saveAllowExternalConnections
public void saveAllowExternalConnections(boolean allowExternalConnections) - Parameter:
allowExternalConnections- specifies if external connection are allowed
-
load
public void load() -
save
public void save()
-