All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.eg.agent.android.unity.UnityEvent Maven / Gradle / Ivy

There is a newer version: 2.1.3
Show newest version
 package com.eg.agent.android.unity;

 import java.util.HashMap;
 import java.util.Map;

 public class UnityEvent
 {
     private String name;
     private Map attributes;

     public UnityEvent(String name)
     {
         this.name = name;
         this.attributes = new HashMap();
     }

     public String getName()
     {
         return this.name;
     }

     public Map getAttributes()
     {
         return this.attributes;
     }

     public void setAttributes(Map attributes)
     {
         this.attributes = attributes;
     }

     public void addAttribute(String name, String value)
     {
         this.attributes.put(name, value);
     }

     public void addAttribute(String name, Double value)
     {
         this.attributes.put(name, value);
     }
 }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy