Code example for SecureRandom

Methods: nextLong

0
    public MediaSession getMediaSession() { 
        return mMediaSession;
    } 
 
    private static String generateSessionId() {
        return Long.toHexString(sRandom.nextLong());
    } 
}