缺少Firebase远程配置getInt()

缺少Firebase远程配置getInt(),firebase,firebase-remote-config,Firebase,Firebase Remote Config,Firebase提供以下方法: getBoolean() getByteArray() getDouble() getLong() getString() 但是这个列表中缺少getInt(),我很好奇这是否有原因?使用Long或String并强制转换/转换为int是首选方法吗?看起来很奇怪 由于int是long的一个子集,因此应该使用它来存储整数

Firebase提供以下方法:

  • getBoolean()
  • getByteArray()
  • getDouble()
  • getLong()
  • getString()

但是这个列表中缺少getInt(),我很好奇这是否有原因?使用Long或String并强制转换/转换为int是首选方法吗?

看起来很奇怪

由于
int
long
的一个子集,因此应该使用它来存储整数