Android SDK Version


public class FeatureManager
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.
Nested Class Summary
Modifier and TypeClassDescription
public enumFeatureManager.Feature
Feature enum Defines features in SDK
Sample: AppEvents = 0x00010000, ^ ^ ^ ^ | | | | kit | | | feature | | sub-feature | sub-sub-feature 1st byte: kit 2nd byte: feature 3rd byte: sub-feature 4th byte: sub-sub-feature
public interfaceFeatureManager.Callback
Callback for fetching feature status. Method FeatureManager.checkFeature} will call GateKeeper manager to load the latest GKs first and then run the callback function.
Field Summary
Modifier and TypeFieldDescription
public final static FeatureManagerINSTANCE
Method Summary
Modifier and TypeMethodDescription
final static UnitcheckFeature(FeatureManager.Feature feature, FeatureManager.Callback callback)
final static BooleanisEnabled(FeatureManager.Feature feature)
final static UnitdisableFeature(FeatureManager.Feature feature)
final static FeatureManager.FeaturegetFeature(String className)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail

checkFeature

 final static UnitcheckFeature(FeatureManager.Feature feature, FeatureManager.Callback callback)

isEnabled

 final static BooleanisEnabled(FeatureManager.Feature feature)

disableFeature

 final static UnitdisableFeature(FeatureManager.Feature feature)

getFeature

 final static FeatureManager.FeaturegetFeature(String className)