RouteUtils

public class RouteUtils

Constructors

Link copied to clipboard
public void RouteUtils()

Types

Link copied to clipboard
public enum ChatUIActivityType

Properties

Link copied to clipboard
public final static String CHANNEL_ID
Link copied to clipboard
public final static String CHANNEL_IDENTIFIER
Link copied to clipboard
public final static String CHANNEL_TYPE
Link copied to clipboard
public final static String CREATE_CHATROOM
Link copied to clipboard
public final static String CUSTOM_SERVICE_INFO
Link copied to clipboard
public final static String DISABLE_SYSTEM_EMOJI
Link copied to clipboard
public final static String FORWARD_TYPE
Link copied to clipboard
public final static String INDEX_MESSAGE_TIME
Link copied to clipboard
public final static String MESSAGE
Link copied to clipboard
public final static String MESSAGE_ID
Link copied to clipboard
public final static String MESSAGE_IDS
Link copied to clipboard
public final static String TARGET_ID
Link copied to clipboard
public final static String TITLE

Functions

Link copied to clipboard
public static Class<? extends Activity> getActivity(RouteUtils.ChatUIActivityType type)
Link copied to clipboard
public static void registerActivity(RouteUtils.ChatUIActivityType activityType, Class<? extends Activity> activity)
Link copied to clipboard
public static void routeToChannelActivity(Context context, ChannelIdentifier channelIdentifier)
public static void routeToChannelActivity(Context context, ChannelIdentifier channelIdentifier, Bundle bundle)
public static void routeToChannelActivity(Context context, ChannelIdentifier channelIdentifier, boolean disableSystemEmoji, Bundle bundle)
public static void routeToChannelActivity(Context context, ChannelType type, String targetId, Bundle bundle)
public static void routeToChannelActivity(Context context, ChannelType type, String targetId, boolean disableSystemEmoji, Bundle bundle)
Launches the channel (conversation) activity.
public static void routeToChannelActivity(Context context, ChannelType type, String targetId)
public static void routeToChannelActivity(Context context, ChannelType type, String targetId, boolean disableSystemEmoji)
Link copied to clipboard
public static void routeToChannelListActivity(Context context, String title)
Link copied to clipboard
public static void routeToCombineMessageDetailActivity(Context context, Message message)
Launches the combined forward message detail preview activity.
Link copied to clipboard
public static void routeToCombinePicturePagerActivity(Context context, Message message)
Launches the image viewer page for combined forward messages.
Link copied to clipboard
public static void routeToFilePreviewActivity(Context context, Message message, FileMessage content, int progress)
Link copied to clipboard
public static void routeToForwardSelectChannelActivity(Fragment fragment, ForwardType type, ArrayList<Integer> messageIds)
Launches the channel selection activity for message forwarding.
Link copied to clipboard
public static void routeToMentionMemberSelectActivity(Context context, String targetId, ChannelType type)
Launches the @ mention member selection activity.
Link copied to clipboard
public static void routeToSubChannelListActivity(Context context, ChannelType type, String title)
Launches the sub-channel list (grouped conversations) activity.
Link copied to clipboard
public static void routeToWebActivity(Context context, String url)

public static void routeToWebActivity(Context context, String url, String title)
Launches the web view activity.
Link copied to clipboard
public static void routeToWebFilePreviewActivity(Context context, String fileUrl, String fileName, String fileSize)
Launches the online file preview activity.