Interface ControllerSerializerProvider

All Superinterfaces:
ControllerProvider

public non-sealed interface ControllerSerializerProvider extends ControllerProvider
This interface provides a standardized way to serialize a session. Implement this interface and register it in your manifest
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    serializeKeys(Keys keys, boolean async)
    Serializes the keys
    void
    serializeStore(Store store, boolean async)
    Serializes the store

    Methods inherited from interface it.auties.whatsapp.serialization.ControllerProvider

    findIds
  • Method Details

    • serializeKeys

      void serializeKeys(Keys keys, boolean async)
      Serializes the keys
      Parameters:
      keys - the non-null keys to serialize
      async - whether the operation should be executed asynchronously
    • serializeStore

      void serializeStore(Store store, boolean async)
      Serializes the store
      Parameters:
      store - the non-null store to serialize
      async - whether the operation should be executed asynchronously