File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -251,6 +251,25 @@ Each Snack reveals NativeScript's power, from UI tricks to platform SDK usages t
251
251
videoUrl: " https://youtube.com/embed/bwgVIZSpZ00" ,
252
252
videoTitle: " Enable large title displays for iOS Navigation" ,
253
253
},
254
+ {
255
+ id: 17 ,
256
+ title: " Hardware device volume" ,
257
+ href: " https://stackblitz.com/edit/nativescript-device-volume?file=src%2Futils%2Fvolume.ts" ,
258
+ description: " How to get the current device volume using NativeScript on iOS and Android." ,
259
+ categories: [
260
+ {
261
+ title: " iOS outputVolume" ,
262
+ href: " https://developer.apple.com/documentation/avfaudio/avaudiosession/1616533-outputvolume?language=objc" ,
263
+ },
264
+ {
265
+ title: " Android getStreamVolume" ,
266
+ href: " https://developer.android.com/reference/android/media/AudioManager#getStreamVolume(int)" ,
267
+ },
268
+ { title: " Vue" , href: " https://nativescript-vue.org" },
269
+ ],
270
+ videoUrl: " https://youtube.com/embed/1DR_9AZrMe4" ,
271
+ videoTitle: " Adjusting hardware device volume with NativeScript" ,
272
+ },
254
273
// Not ready yet but will discuss with Dylan to update
255
274
// {
256
275
// id: 15,
You can’t perform that action at this time.
0 commit comments