@ SuppressWarnings ( "unused" ) public static String getUserId ( ) { String userId = null ; try { userId = WonderPushConfiguration . getUserId ( ) ; } catch ( Exception e ) { Log . e ( TAG , "Unexpected error while getting userId" , e ) ; } return userId ; }
Gets the user id used to identify a single identity across multiple devices and to correctly identify multiple users on a single device .