ConnectedDevicesNotification 类
- java.
lang. Object - NativeBase
- com.
microsoft. connecteddevices. ConnectedDevicesNotification
- com.
public class ConnectedDevicesNotification
表示要由连接设备平台处理的传入通知的对象
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
List<String> |
getCorrelationVectors()
检索与此通知关联的相关向量(如果有)。 |
Connected |
tryParse(@NonNull Map map)
尝试从格式化为 FCM 通知的 FCM 格式映射分析 ConnectedDevicesNotification。 |
方法详细信息
getCorrelationVectors
public List
检索与此通知关联的相关向量(如果有)。
返回:
相关向量列表
tryParse
public static ConnectedDevicesNotification tryParse(@NonNull Map map)
尝试从格式化为 FCM 通知的 FCM 格式映射分析 ConnectedDevicesNotification。
参数:
map
- 从 FirebaseMessagingService.onMessageReceived 接收的地图
返回:
ConnectedDevicesNotification。 如果 FCM 通知不是 ConnectedDevicesNotification,则返回 null。