英文:
Most recent notification status bar
问题
我想要获取即将到来的通知的唯一标识符。是否有可能获取该唯一标识符以便识别最近的通知?
public void onNotificationPosted(StatusBarNotification sbn) {
sbn.getUiqueId();
}
英文:
I want the unique id of upcoming notification. Is it possible to get the unique id in order to identify the recent notification?
public void onNotificationPosted(StatusBarNotification sbn) {
sbn.getUiqueId();
}
答案1
得分: 0
I believe the public method is:
StatusBarNotification.getId();
英文:
I believe the public method is:
StatusBarNotification.getId();
专注分享java语言的经验与见解,让所有开发者获益!
评论