Skip to main content

EOS_Platform_SetNetworkStatus

Function EOS_Platform_SetNetworkStatus 

Source
pub unsafe extern "C" fn EOS_Platform_SetNetworkStatus(
    Handle: EOS_HPlatform,
    NewStatus: EOS_ENetworkStatus,
) -> EOS_EResult
Expand description

Notify a change in network state.

@param NewStatus The new network status.

@return An EOS_EResult that indicates whether we changed the network status successfully.

  • EOS_Success if the network was changed successfully.
  • EOS_InvalidParameters if the value of NewStatus is invalid.