Package io.rong.push.notification
Class RongNotificationInterface
-
- All Implemented Interfaces:
public class RongNotificationInterface
/~english
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
RongNotificationInterface.SoundType
-
Constructor Summary
Constructors Constructor Description RongNotificationInterface()
-
Method Summary
Modifier and Type Method Description static void
sendNotification(Context context, PushNotificationMessage message)
/~english static void
sendNotification(Context context, PushNotificationMessage message, PushType pushType, int left)
/~english static void
removeNotification(Context context, int notificationId)
static Notification
createNotification(Context context, String title, PendingIntent pendingIntent, String content, RongNotificationInterface.SoundType soundType, String channelId)
static void
removeAllNotification(Context context)
/~english static void
removeAllPushNotification(Context context)
/~english static void
removeAllPushServiceNotification(Context context)
/~english static Notification
createNotification(Context context, String title, PendingIntent pendingIntent, String content, RongNotificationInterface.SoundType soundType, boolean isShowDetail)
static void
setNotificationSound(Uri uri)
-
-
Method Detail
-
sendNotification
@Deprecated() static void sendNotification(Context context, PushNotificationMessage message)
/~english
-
sendNotification
static void sendNotification(Context context, PushNotificationMessage message, PushType pushType, int left)
/~english
-
removeNotification
static void removeNotification(Context context, int notificationId)
-
createNotification
static Notification createNotification(Context context, String title, PendingIntent pendingIntent, String content, RongNotificationInterface.SoundType soundType, String channelId)
-
removeAllNotification
static void removeAllNotification(Context context)
/~english
-
removeAllPushNotification
static void removeAllPushNotification(Context context)
/~english
-
removeAllPushServiceNotification
static void removeAllPushServiceNotification(Context context)
/~english
-
createNotification
static Notification createNotification(Context context, String title, PendingIntent pendingIntent, String content, RongNotificationInterface.SoundType soundType, boolean isShowDetail)
-
setNotificationSound
static void setNotificationSound(Uri uri)
-
-
-
-