When creating a custom event, how do you distinguish between custom events? I have several custom events where the code will be very similar.
Get the name of the event out of the event data to see what the listener is responding to.
event.getEventTypeId() should give you an id of an event type, which you can then use for a "getName()" on the event type.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.