Interface IAndroidComponent

All Known Subinterfaces:
IActivity, IBroadcastReceiver, IContentProvider, IService
All Known Implementing Classes:
AbstractBinaryAndroidComponent, BinaryManifestActivity, BinaryManifestBroadcastReceiver, BinaryManifestContentProvider, BinaryManifestService

public interface IAndroidComponent
Base interface for all components inside an Android app
Author:
Steven Arzt
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets all possible lifecycle methods of this type of Android component, not all lifecycle methods are necessarily implemented
    Gets the name of this component as a fully-qualified class name
    boolean
    Gets whether this Android component is enabled
    boolean
    Gets whether this Android component is exported
  • Method Details

    • isEnabled

      boolean isEnabled()
      Gets whether this Android component is enabled
      Returns:
      True if this Android component is enabled, false otherwise
    • isExported

      boolean isExported()
      Gets whether this Android component is exported
      Returns:
      True if this Android component is exported, false otherwise
    • getNameString

      String getNameString()
      Gets the name of this component as a fully-qualified class name
      Returns:
      The fully-qualified class name of this Android component
    • getLifecycleMethods

      List<String> getLifecycleMethods()
      Gets all possible lifecycle methods of this type of Android component, not all lifecycle methods are necessarily implemented
      Returns:
      The list of (possible) lifecycle methods of this Android component