LINXD-2559-sdk-part-1-auth-connect-events: Add event handler for client #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "LINXD-2559-sdk-part-1-auth-connect-events"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -33,0 +38,4 @@
CONNECT = "connect",
}
return USER_EVENTS;
}
I chose to have two types of models:
The first one to use inside the SDK, is to have all the events in an enum.
The 2nd is in the SDK module and is accessible to the client through linxSdk.models().<event_name>.
I chose this approach because we offer the client a predefined list of events we interface with, but not all the events with which the SDK works. Another reason is security.