toggle menu
Android-CallKit-SDK
5.38.0
io.rong.callkit
switch theme
search in API
Android-CallKit-SDK
/
io.rong.callkit
/
VoIPBroadcastReceiver
Vo
IPBroadcast
Receiver
public
class
VoIPBroadcastReceiver
为解决在 Android 10 以上版本不再允许后台运行 Activity,音视频的离线推送呼叫消息将由通知栏的形式展示给用户 Created by wangw on 2019-12-09.
Members
Constructors
Vo
IPBroadcast
Receiver
Link copied to clipboard
public
void
VoIPBroadcastReceiver
(
)
Properties
ACTION_CALL_HANGUP_CLICKED
Link copied to clipboard
public
final
static
String
ACTION_CALL_HANGUP_CLICKED
ACTION_CALLINVITEMESSAGE
Link copied to clipboard
public
final
static
String
ACTION_CALLINVITEMESSAGE
ACTION_CALLINVITEMESSAGE_CLICKED
Link copied to clipboard
public
final
static
String
ACTION_CALLINVITEMESSAGE_CLICKED
ACTION_CLEAR_VOIP_NOTIFICATION
Link copied to clipboard
public
final
static
String
ACTION_CLEAR_VOIP_NOTIFICATION
DEFAULT_FCM_NOTIFICATION_ID
Link copied to clipboard
public
final
static
int
DEFAULT_FCM_NOTIFICATION_ID
HANGUP
Link copied to clipboard
public
final
static
String
HANGUP
INVITE
Link copied to clipboard
public
final
static
String
INVITE
Functions
clear
Notification
Cache
Link copied to clipboard
public
static
void
clearNotificationCache
(
)
fcm
Show
Notification
Link copied to clipboard
public
void
fcmShowNotification
(
Context context
,
PushNotificationMessage message
)
on
Receive
Link copied to clipboard
public
void
onReceive
(
Context context
,
Intent intent
)
register
Local
Receiver
Link copied to clipboard
public
static
void
registerLocalReceiver
(
Context context
)
注册本地广播接收器,用于接收应用内部发送的 VoIP 广播 绕开华为等厂商的后台广播限制
unregister
Local
Receiver
Link copied to clipboard
public
static
void
unregisterLocalReceiver
(
Context context
)
注销本地广播接收器