setButtonState

private final Unit setButtonState(SdkMode mode)

Sets the button state for Online and Offline buttons based on the current SDK mode.

Parameters

mode

The current SDK mode (Online or Offline).