public static void startBroadcastActivity(Activity host, BroadcastListener listener) {
        checkNotNull(listener, host.getString(R.string.error_no_broadcastlistener));
        if (sSessionConfig == null) {
            setupDefaultSessionConfig();
        }
        checkNotNull(sClientKey);
        checkNotNull(sClientSecret);
        sBroadcastListener = listener;
        Intent broadcastIntent = new Intent(host, BroadcastActivity.class);
        broadcastIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
        host.startActivity(broadcastIntent);
    }
public static void startBroadcastActivity ( Activity host , BroadcastListener listener ) { checkNotNull ( listener , host . getString ( R . string . error_no_broadcastlistener ) ) ; if ( sSessionConfig == null ) { setupDefaultSessionConfig ( ) ; } checkNotNull ( sClientKey ) ; checkNotNull ( sClientSecret ) ; sBroadcastListener = listener ; Intent broadcastIntent = new Intent ( host , BroadcastActivity . class ) ; broadcastIntent . setFlags ( Intent . FLAG_ACTIVITY_CLEAR_TOP ) ; host . startActivity ( broadcastIntent ) ; }
Start {@link io.kickflip.sdk.activity.BroadcastActivity}. This Activity
facilitates control over a single live broadcast.
<p/>
<b>Must be called after {@link Kickflip#setup(android.content.Context, String, String)} or
{@link Kickflip#setup(android.content.Context, String, String, io.kickflip.sdk.api.KickflipCallback)}.</b>

@param host     the host {@link android.app.Activity} initiating this action
@param listener an optional {@link io.kickflip.sdk.av.BroadcastListener} to be notified on
broadcast events