public static final class

ChanLocator.NavigationData

extends Object
java.lang.Object
   ↳ chan.content.ChanLocator.NavigationData

Class Overview

Navigation data holder. Used in handleUriClickSpecial(Uri) method.

Summary

Fields
public static final int TARGET_POSTS

Target to list of posts.

public static final int TARGET_SEARCH

Target to list of search results.

public static final int TARGET_THREADS

Target to list of threads.

Public Constructors
ChanLocator.NavigationData(int target, String boardName, String threadNumber, String postNumber, String searchQuery)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final int TARGET_POSTS

Target to list of posts.

public static final int TARGET_SEARCH

Target to list of search results. You must enable allowSearch option for specified board to use this target.

public static final int TARGET_THREADS

Target to list of threads.

Public Constructors

public ChanLocator.NavigationData (int target, String boardName, String threadNumber, String postNumber, String searchQuery)

Parameters
target int: Can take the values TARGET_THREADS, TARGET_POSTS or TARGET_SEARCH.
boardName String: Board name.
threadNumber String: Thread number (must be not null for target == TARGET_POSTS).
postNumber String: Post number.
searchQuery String: Search query (must be not null for target == TARGET_SEARCH).