Class PushReceiver

  • All Implemented Interfaces:

    
    public class PushReceiver
    
                        

    Function: Broadcast receiver used to handle network switch events, such as switching from no network connection to Wi-Fi. Upon receiving the event, it needs to be sent to the worker thread to notify the server for further processing.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      PushReceiver()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void onReceive(Context context, Intent intent)
      • Methods inherited from class java.lang.Object

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

      • PushReceiver

        PushReceiver()
    • Method Detail

      • onReceive

         void onReceive(Context context, Intent intent)