Android SDK Version


public class Validate
com.facebook.internal is solely for the use of other packages within the Facebook SDK for Android. Use of any of the classes in this package is unsupported, and they may be modified or removed without warning at any time.
Field Summary
Modifier and TypeFieldDescription
private final StringCUSTOM_TAB_REDIRECT_URI_PREFIX
public final static ValidateINSTANCE
Method Summary
Modifier and TypeMethodDescription
final static UnitnotNull(Object arg, String name)
final static <T extends Any> UnitnotEmpty(Collection<T> container, String name)
final static UnitnotEmpty(String arg, String name)
final static <T extends Any> UnitcontainsNoNulls(Collection<T> container, String name)
final static UnitcontainsNoNullOrEmpty(Collection<String> container, String name)
final static <T extends Any> UnitnotEmptyAndContainsNoNulls(Collection<T> container, String name)
final static UnitrunningOnUiThread()
final static UnitnotNullOrEmpty(String arg, String name)
final static UnitoneOf(Object arg, String name, Object values)
final static UnitsdkInitialized()
final static StringhasAppID()
final static StringhasClientToken()
final static UnithasInternetPermissions(Context context)
final static UnithasInternetPermissions(Context context, Boolean shouldThrow)
final static BooleanhasWiFiPermission(Context context)
final static BooleanhasChangeWifiStatePermission(Context context)
final static BooleanhasLocationPermission(Context context)
final static BooleanhasBluetoothPermission(Context context)
final static BooleanhasPermission(Context context, String permission)
final static UnithasFacebookActivity(Context context)
final static UnithasFacebookActivity(Context context, Boolean shouldThrow)
final static BooleanhasCustomTabRedirectActivity(Context context, String redirectURI)
final static UnithasContentProvider(Context context)
final StringgetCUSTOM_TAB_REDIRECT_URI_PREFIX()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail

notNull

 final static UnitnotNull(Object arg, String name)

notEmpty

 final static <T extends Any> UnitnotEmpty(Collection<T> container, String name)

notEmpty

 final static UnitnotEmpty(String arg, String name)

containsNoNulls

 final static <T extends Any> UnitcontainsNoNulls(Collection<T> container, String name)

containsNoNullOrEmpty

 final static UnitcontainsNoNullOrEmpty(Collection<String> container, String name)

notEmptyAndContainsNoNulls

 final static <T extends Any> UnitnotEmptyAndContainsNoNulls(Collection<T> container, String name)

runningOnUiThread

 final static UnitrunningOnUiThread()

notNullOrEmpty

 final static UnitnotNullOrEmpty(String arg, String name)

oneOf

 final static UnitoneOf(Object arg, String name, Object values)

sdkInitialized

 final static UnitsdkInitialized()

hasAppID

 final static StringhasAppID()

hasClientToken

 final static StringhasClientToken()

hasInternetPermissions

 final static UnithasInternetPermissions(Context context)

hasInternetPermissions

 final static UnithasInternetPermissions(Context context, Boolean shouldThrow)

hasWiFiPermission

 final static BooleanhasWiFiPermission(Context context)

hasChangeWifiStatePermission

 final static BooleanhasChangeWifiStatePermission(Context context)

hasLocationPermission

 final static BooleanhasLocationPermission(Context context)

hasBluetoothPermission

 final static BooleanhasBluetoothPermission(Context context)

hasPermission

 final static BooleanhasPermission(Context context, String permission)

hasFacebookActivity

 final static UnithasFacebookActivity(Context context)

hasFacebookActivity

 final static UnithasFacebookActivity(Context context, Boolean shouldThrow)

hasCustomTabRedirectActivity

 final static BooleanhasCustomTabRedirectActivity(Context context, String redirectURI)

hasContentProvider

 final static UnithasContentProvider(Context context)

getCUSTOM_TAB_REDIRECT_URI_PREFIX

 final StringgetCUSTOM_TAB_REDIRECT_URI_PREFIX()