O'Reilly logo

NativeScript for Angular Mobile Development by Nathanael J. Anderson, Nathan Walker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building custom reusable NativeScript view for native audio Waveform display

Instead of creating an Angular Component for our Waveform display, we will create a custom NativeScript view component, that taps into native APIs, that we can then register with Angular to use in our components. The reason for doing this is due to NativeScript's powerful view base class that we can extend, which provides a nice API when using underlying native APIs for the view. This Waveform display will work in tandem with the RecordModel we just created to bring to life our real-time Waveform feedback display of the device's microphone. It would also be amazing to reuse this Waveform display as a static audio file waveform rendering on our track list, as an alternate ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required