Skip to content

Commit

Permalink
feat(snacks): hardware device volume in Vue 3
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanWalker committed Jul 16, 2024
1 parent 74f9e8b commit 205a8c3
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions content/snacks/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,25 @@ Each Snack reveals NativeScript's power, from UI tricks to platform SDK usages t
videoUrl: "https://youtube.com/embed/bwgVIZSpZ00",
videoTitle: "Enable large title displays for iOS Navigation",
},
{
id: 17,
title: "Hardware device volume",
href: "https://stackblitz.com/edit/nativescript-device-volume?file=src%2Futils%2Fvolume.ts",
description: "How to get the current device volume using NativeScript on iOS and Android.",
categories: [
{
title: "iOS outputVolume",
href: "https://developer.apple.com/documentation/avfaudio/avaudiosession/1616533-outputvolume?language=objc",
},
{
title: "Android getStreamVolume",
href: "https://developer.android.com/reference/android/media/AudioManager#getStreamVolume(int)",
},
{ title: "Vue", href: "https://nativescript-vue.org" },
],
videoUrl: "https://youtube.com/embed/1DR_9AZrMe4",
videoTitle: "Adjusting hardware device volume with NativeScript",
},
// Not ready yet but will discuss with Dylan to update
// {
// id: 15,
Expand Down

0 comments on commit 205a8c3

Please sign in to comment.