Launch Button and Submenu
SDK Launch Button Visibility Handling Guide
Depending on your application and your use of the StreamLayer SDK, you may want to hide or show the launch button within the app. For example you may want to hide the SDK launch button when your app is showing the player controls to your user. In that case, you can use a delegate method for StreamLayer to hide the launch button. There is static method in the StreamLayerUI class:
StreamLayerUI.hideLaunchButton(activity: FragmentActivity, isVisible:Boolean)The parameter activity is the Activity of your application, which contains StreamLayerFragment, parameter isVisible is the boolean value that toggles visibility of the launch button.
Updated 6 months ago
