Skip to content

AltTechLTD/afradio_android_playback_module

Repository files navigation

AF Radio Android Playback plugin

The library helps you integrate playback into your android app.

Installation

  1. Import the afr library module into your project

  2. In the oncreate setion of your MainActivity or whatever cativity you want to open you module, create you configuration Parameters using credentials supplied by AF Radio.

    Config config = new Config();
    config.setAppId("tKvHWTnKAXLfxjAYm");
    config.setResId("NFR3cG4sEqLT5pnk3");
  1. Start the Playback fragment
getSupportFragmentManager()
        .beginTransaction()
        .add(R.id.main, PlaybackFragment.Companion.newInstance(config))
        .commit()
  1. Done.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published