-
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
Nested Classes Modifier and Type Class Description public enum
FeatureManager.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 interface
FeatureManager.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
Fields Modifier and Type Field Description public final static FeatureManager
INSTANCE
-
Method Summary
Modifier and Type Method Description final static Unit
checkFeature(FeatureManager.Feature feature, FeatureManager.Callback callback)
final static Boolean
isEnabled(FeatureManager.Feature feature)
final static Unit
disableFeature(FeatureManager.Feature feature)
final static FeatureManager.Feature
getFeature(String className)
-
-
Method Detail
-
checkFeature
final static Unit checkFeature(FeatureManager.Feature feature, FeatureManager.Callback callback)
-
isEnabled
final static Boolean isEnabled(FeatureManager.Feature feature)
-
disableFeature
final static Unit disableFeature(FeatureManager.Feature feature)
-
getFeature
final static FeatureManager.Feature getFeature(String className)
-
-
-
-