toggle menu
AppUpdater
androidJvm
switch theme
search in API
app-updater
/
com.king.app.updater.util
/
NotificationUtils
/
createNotificationChannel
create
Notification
Channel
@
JvmStatic
fun
createNotificationChannel
(
context
:
Context
,
channelId
:
String
,
channelName
:
String
,
isVibrate
:
Boolean
,
isSound
:
Boolean
)
创建一个通知通道(兼容O以上版本)
Parameters
context
Context
channel
Id
渠道ID
channel
Name
渠道名称
is
Vibrate
是否震动
is
Sound
是否播放声音