Skip to main content
Version: 3.3

struct NetworkEventArgs

(Niantic.Lightship.SharedAR.Networking.NetworkEventArgs)

Overview

Event args fired from INetworking.NetworkEvent.

struct NetworkEventArgs {
// properties

NetworkEvents networkEvent;
UInt32 errorCode;

// methods

NetworkEventArgs(NetworkEvents netEvent, UInt32 errCode);
};

Detailed Documentation

Event args fired from INetworking.NetworkEvent.

Properties

networkEvent

NetworkEvents networkEvent

Type of networking event being fired.

errorCode

UInt32 errorCode

Error code. Only valid in Disconnected and ConnectionError