-
public class ChannelActivity.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static ChannelActivity.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final IntentcreateIntent(Context context, String cid, String messageId, Class<out ChannelActivity> activityClass)Creates an Intent to start the ChannelActivity or its subclass. final IntentcreateIntent(Context context, String cid, String messageId)Creates an Intent to start the ChannelActivity or its subclass. final IntentcreateIntent(Context context, String cid)Creates an Intent to start the ChannelActivity or its subclass. -
-
Method Detail
-
createIntent
@JvmOverloads() final Intent createIntent(Context context, String cid, String messageId, Class<out ChannelActivity> activityClass)
Creates an Intent to start the ChannelActivity or its subclass.
- Parameters:
context- The context that will be used in the intent.cid- The full channel id, i.e.messageId- The ID of the selected message.activityClass- The Activity class that will be used in the intent.
-
createIntent
@JvmOverloads() final Intent createIntent(Context context, String cid, String messageId)
Creates an Intent to start the ChannelActivity or its subclass.
- Parameters:
context- The context that will be used in the intent.cid- The full channel id, i.e.messageId- The ID of the selected message.
-
createIntent
@JvmOverloads() final Intent createIntent(Context context, String cid)
Creates an Intent to start the ChannelActivity or its subclass.
- Parameters:
context- The context that will be used in the intent.cid- The full channel id, i.e.
-
-
-
-