StringResourcesHandler

public final class StringResourcesHandler

Fields

INTEREST_DATA_DIVIDER

public static final String INTEREST_DATA_DIVIDER

Interest group divider (divide between class and id)

INTEREST_DIVIDER

public static final String INTEREST_DIVIDER

Interest string divider (divide 2 diferent interest groups)

SERVICE_CHAT

public static final int SERVICE_CHAT

Query type: New matches for the service

SERVICE_MATCHES

public static final int SERVICE_MATCHES

Query type: New matches for the service

USER_CANDIDATES

public static final int USER_CANDIDATES

Query type: Candidates for the user

USER_CHAT

public static final int USER_CHAT

Query type: Chat for the user

USER_INFO

public static final int USER_INFO

Query type: Information of the user

USER_MATCHES

public static final int USER_MATCHES

Query type: Matches for the user

Methods

executeQuery

public static void executeQuery(int requestType, String token, CallbackOperation operation)

Executes a query in a detached thread. Once it finishes executes the callback

Parameters:
  • requestType – Request type (One of the listed request types)
  • token – Session token
  • operation – Callback operation

executeQuery

public static void executeQuery(String resId, int requestType, String token, CallbackOperation operation)

Executes a query in a detached thread. Once it finishes executes the callback

Parameters:
  • resId – Queried resource id
  • requestType – Request type (One of the listed request types)
  • token – Session token
  • operation – Callback operation