Klasse SIDDeviceSettings

java.lang.Object
server.netsiddev.SIDDeviceSettings

public class SIDDeviceSettings extends Object
  • Felddetails

  • Konstruktordetails

    • SIDDeviceSettings

      private SIDDeviceSettings()
  • Methodendetails

    • getInstance

      public static SIDDeviceSettings 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

      public String getWhatsSidUrl()
      Gibt zurück:
      WhatsSID URL from the settings.
    • getWhatsSidUsername

      public String getWhatsSidUsername()
      Gibt zurück:
      WhatsSID username from the settings.
    • getWhatsSidPassword

      public String 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

      public void saveDeviceIndex(Integer deviceIndex)
      Parameter:
      deviceIndex - the device index to be saved
    • saveAudioBufferSize

      public void saveAudioBufferSize(Integer audioBufferSize)
      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

      public void saveWhatsSidUrl(String whatsSidUrl)
    • saveWhatsSidUsername

      public void saveWhatsSidUsername(String whatsSidUsername)
    • saveWhatsSidPassword

      public void saveWhatsSidPassword(String whatsSidPassword)
    • 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()