To open the song Be Still, we'd use this:Īlternately, we could pass a known unique identifier for the song querystring parameter like so: This uses the base action path and the song querystring parameter. OnSong can do this by either searching by song title, or by song identifier. ![]() The most simple action is to open a song. You can request to become an affiliate partner with OnSong by emailing us. ![]() If that returns false, then the OnSong app is not installed and you can present an appropriate user interface to have the user install OnSong. Once registered, you can use the method to determine if the URL can be opened. However this does not apply to web-based apps. Without this, your app will not be able to open OnSong scheme. To do this, add onsong as a registered URL scheme. Of course to use any of these API calls, you'll need to ensure the user has OnSong installed on their device. Since the onsong:// URL scheme is used on every version of OnSong, you'll want to ensure you only have the beta version installed to avoid conflict with other versions of the app. You can join our beta team to get pre-release versions of OnSong for testing. The Open Song URL API is only available in OnSong 2020.8 and higher. ![]() That makes URL open actions ideal for use if your app is running in portion of the iPad screen. If you are viewing OnSong using a split screen or other multitasking configuration on an iPad, it will remain this way. Since this is a URL scheme, it will result in opening OnSong and bringing it to the foreground if it's not already being viewed. Not only can you use the onsong:// URL scheme to import content into OnSong,īut you can also use it to view specific songs in your library.
0 Comments
Leave a Reply. |