public class ProfileFetcher extends Object
ProfileFetchThread
Modifier and Type | Method and Description |
---|---|
static void |
fetch(String name,
ProfileFetchHandler handler)
Fetch a profile.
|
static void |
fetchForced(String name,
ProfileFetchHandler handler) |
static void |
reset()
Clear all queued and cached requests.
|
public static void fetch(String name, @Nullable ProfileFetchHandler handler)
name
- The name of the player the profile belongs to.handler
- Optional handler to handle the result. Handler always invoked from the main thread.public static void fetchForced(String name, ProfileFetchHandler handler)
public static void reset()
Copyright © 2021. All rights reserved.