Mini Player

The Mini Player display the currently played track and allow user to pause/resume

To add the Mini Player to your application

Android
iOS
Cordova
Android
<!-- Add this view to your xml root view -->
<com.staytuned.sdk.ui.STMinifiedPlayer
android:id="@+id/miniPlayer"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
iOS
import UIKit
import StayTunedSDK
class MainViewController: UIViewController {
// Mini player will be shown only if you start an audio
private func displayMiniPlayer() {
STMiniPlayer.shared?.set(in: self)
}
}
Cordova
// import this tag to your render template
<st-mini-player></st-mini-player>