brandIdToInt function

int brandIdToInt(
  1. TencentCloudChatPushBrandID brandId
)

Implementation

int brandIdToInt(TencentCloudChatPushBrandID brandId) {
  switch (brandId) {
    case TencentCloudChatPushBrandID.XiaoMi:
      return 2000;
    case TencentCloudChatPushBrandID.HuaWei:
      return 2001;
    case TencentCloudChatPushBrandID.FCM:
      return 2002;
    case TencentCloudChatPushBrandID.Meizu:
      return 2003;
    case TencentCloudChatPushBrandID.Oppo:
      return 2004;
    case TencentCloudChatPushBrandID.Vivo:
      return 2005;
    case TencentCloudChatPushBrandID.Honor:
      return 2006;
  }
}