Package com.treasuredata.android.cdp
Interface FetchUserSegmentsCallback
-
public interface FetchUserSegmentsCallback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onError(java.lang.Exception e)
Handle failurevoid
onSuccess(java.util.List<Profile> profiles)
Handle success looked up segments result
-
-
-
Method Detail
-
onSuccess
void onSuccess(java.util.List<Profile> profiles)
Handle success looked up segments result- Parameters:
profiles
- that matches with the specified query
-
onError
void onError(java.lang.Exception e)
Handle failure- Parameters:
e
- the exception could be: -CDPAPIException
, -JSONException
, or any unexpected upstream exception (IOException for example).
-
-