Package 

Class BootCompletedReceiver

    • Method Summary

      Modifier and Type Method Description
      Unit onReceive(Context context, Intent intent) Called when the device has completed booting.
      • Methods inherited from class org.holochain.androidserviceruntime.service.BootCompletedReceiver

        abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, getSentFromPackage, getSentFromUid, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
      • Methods inherited from class java.lang.Object

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

      • BootCompletedReceiver

        BootCompletedReceiver()
    • Method Detail

      • onReceive

         Unit onReceive(Context context, Intent intent)

        Called when the device has completed booting.

        This method checks for the ACTION_BOOT_COMPLETED intent and starts the HolochainService with the ACTION_BOOT_COMPLETED action. The service will then decide whether to start Holochain based on the user's autostart configuration.

        Parameters:
        context - The Context in which the receiver is running
        intent - The Intent being received