SDKConstants
class SDKConstants
Description: Some external constants of the SDK
object SDKConstants {
/**
* Wide Angle WideAngle or ZOOM
*/
const val STREAM_CHANNEL_16110 = 16110
/**
* infrared
*/
const val STREAM_CHANNEL_16115 = 16115
/**
* telephoto
*/
const val STREAM_CHANNEL_16111 = 16111
/**
* night vision
*/
const val STREAM_CHANNEL_16112 = 16112
/**
* local ip address
*/
const val IP = "127.0.0.1"
/**
* Determine whether the module type is a remote control processing related module: REMOTE_CONTROLLER or Nest
* @return Remote controller mode or Nest mode - Remote controller mode or Nest mode
*/
fun isRemoteControlMode(type : Int) : Boolean{
return type == ComponentType.REMOTE_CONTROLLER.value || type == ComponentType.Nest.value
}
}