Package 

Interface Feature


  • 
    public interface Feature
    
                        

    Interface to be implemented by the feature, which doesn't require any storage, to be registered with SdkCore.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class Feature.Companion
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onInitialize(Context appContext) This method is called during feature initialization.
      abstract Unit onStop() This method is called during feature de-initialization.
      abstract String getName() Name of the feature.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onInitialize

         abstract Unit onInitialize(Context appContext)

        This method is called during feature initialization. At this stage feature should setup itself.

        Parameters:
        appContext - Application context.
      • onStop

         abstract Unit onStop()

        This method is called during feature de-initialization. At this stage feature should stop itself and release resources held.