newRedirectToChannelIntent

open fun newRedirectToChannelIntent(@NonNull context: Context, @NonNull channelUrl: String): Intent

Create an intent for a ChannelListActivity. This intent will redirect to ChannelActivity if channel url is valid.

Return

ChannelListActivity Intent

Parameters

context

A Context of the application package implementing this class.

channelUrl

the url of the channel will be implemented.


open fun newRedirectToChannelIntent(    @NonNull context: Context,     @NonNull channelUrl: String,     @StyleRes themeResId: Int): Intent

Create an intent for a ChannelListActivity. This intent will redirect to ChannelActivity if channel url is valid.

Return

ChannelListActivity Intent since 3.5.6

Parameters

context

A Context of the application package implementing this class.

channelUrl

the url of the channel will be implemented.

themeResId

the resource identifier for custom theme.