# Sending an event
SDK will send various events related to the user and his actions such as custom events and mobile view screen.
We've got three event types:
Custom events are created by you and will contain any information you provide (quantity of product, it's price, colour, etc.).
Mobile view screen events are a set of events that are created when the client switches between mobile application activities. Those can inform you about the current status of the displayed activity of your client.
Sending an event
Sending is easy as it is only one line of code, but remember, only flat structures are supported when you invoke.
UserCom.getInstance().sendEvent(new MyCustomEvent());
You don't have to worry about being in offline mode while sending - the event will be stored in local DB and sent when the network will be available.
SDK will automatically add your user identifier and date-time information to the event. In User.com web panel, your event will appear as MyCustomEvent (based of class or annotation name).