Esempio n. 1
0
 /// <summary>
 /// Get the unique instance. </summary>
 /// <param name="context"> any valid context. </param>
 public static EngagementNativePushAgent getInstance(Context context)
 {
     /* Always check this even if we instantiate once to trigger null pointer in all cases */
     if (sInstance == null)
     {
         sInstance = new EngagementNativePushAgent(context.ApplicationContext);
     }
     return(sInstance);
 }
	  /// <summary>
	  /// Get the unique instance. </summary>
	  /// <param name="context"> any valid context. </param>
	  public static EngagementNativePushAgent getInstance(Context context)
	  {
		/* Always check this even if we instantiate once to trigger null pointer in all cases */
		if (sInstance == null)
		{
		  sInstance = new EngagementNativePushAgent(context.ApplicationContext);
		}
		return sInstance;
	  }