• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • NodeTransferActivity
  • NodeTransferActivity Class

    Moves node identities between two paired devices, in either direction (§DM-P4b). More...

    Header: #include <NodeTransferActivity>
    Inherits: octomy::activity::PageActivity

    Detailed Description

    This one activity replaces the former separate sender and receiver screens. Both devices open it, and each can send its node identities to the other once both are in transfer mode and the users confirm that the codes match. The activity is the mode: pushing it enters transfer mode on the node's NidTransferModeStateMachine, and any way out of it leaves the mode (§DM-P4b-11b).

    A page stack follows the state machine:

    A ConnectionStatusWidget at the top lets the user fix the connection without leaving. The widgets are built on the first push, after configure() has supplied the Node. The first push in a process also clears stale pending-transfer markers that the older transfer code left (§DM-P4b-11c).

    The agent, remote and hub windows each register it with their activity loader, and NodeLobbyActivity opens it.

    See also NodeLobbyActivity.