增加换肤功能

This commit is contained in:
启星
2025-08-14 10:07:49 +08:00
parent f6964c1e89
commit 4f9318d98e
8789 changed files with 978530 additions and 2 deletions

View File

@@ -0,0 +1,29 @@
//
// OfflinePushInfoConfig.swift
// TUICallKit
//
// Created by vincepzhang on 2023/1/6.
//
import Foundation
import TUICallEngine
@objc
public class OfflinePushInfoConfig: NSObject {
@objc
public static func createOfflinePushInfo() -> TUIOfflinePushInfo {
let pushInfo: TUIOfflinePushInfo = TUIOfflinePushInfo()
pushInfo.title = ""
pushInfo.desc = TUICallKitLocalize(key: "TUICallKit.have.new.invitation") ?? ""
// iOS push type: if you want user VoIP, please modify type to TUICallIOSOfflinePushTypeVoIP
pushInfo.iOSPushType = .apns
pushInfo.ignoreIOSBadge = false
pushInfo.iOSSound = "phone_ringing.mp3"
pushInfo.androidSound = "phone_ringing"
// VIVO message type: 0-push message, 1-System message(have a higher delivery rate)
pushInfo.androidVIVOClassification = 1
// HuaWei message type: https://developer.huawei.com/consumer/cn/doc/development/HMSCore-Guides/message-classification-0000001149358835
pushInfo.androidHuaWeiCategory = "IM"
return pushInfo
}
}