Guest User

Untitled

a guest
Mar 18th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. val audioManager = context.getSystemService(Context.AUDIO_SERVICE) as AudioManager
  2. val audioAttributes = AudioAttributesCompat.Builder()
  3. .setContentType(AudioAttributesCompat.CONTENT_TYPE_MUSIC)
  4. .setUsage(AudioAttributesCompat.USAGE_MEDIA)
  5. .build()
Add Comment
Please, Sign In to add comment