daily pastebin goal
78%
SHARE
TWEET

Untitled

a guest Jan 23rd, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // how should my path be like here?
  2. const sound = android.net.Uri.fromFile(new java.io.File('path????'));
  3.  
  4. const notification = notificationBuilder
  5.     .setSmallIcon(ad.resources.getDrawableId('icon'))
  6.     .setContentTitle('Some test notification')
  7.     .setContentText('Done with native builder')
  8.     .setPriority(2)
  9.     .setSound()
  10.     .setVibrate([0, 550, 200, 500])
  11.     .setLights(200, 500, 1000)
  12.     .build();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top