Skip to content

Commit 3d34979

Browse files
author
yulong.gyl
committed
feat(api): Added getDeviceId
1 parent 1f721f3 commit 3d34979

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

alibabacloud-android-rum-sdk/src/main/java/com/alibabacloud/rum/AlibabaCloudRum.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,4 +364,8 @@ public static void setCustomEvent(String eventName, String group, String snapsho
364364
OpenRum.setCustomEventWithLabel(UUID.randomUUID().toString(), eventName, group, snapshots, attributes);
365365
}
366366
// endregion
367+
368+
public static String getDeviceId() {
369+
return OpenRum.getDeviceID();
370+
}
367371
}

0 commit comments

Comments
 (0)