EMDKManager

EMDK For Xamarin 1.0

The EMDKManager class is the key class in Android EMDK. This class provides access to different classes for the supported features. Clients should call EMDKManager.getEMDKManager(Context, EMDKManager.EMDKListener), to get the EMDKManager object. Each application implements EMDKListener interface. The EMDKManager object will be returned on successful opening through the EMDKListener callback.

Type - Java.Lang.Object

Methods

GetEMDKManager

public static Symbol.XamarinEMDK.EMDKResults GetEMDKManager (Android.Content.Context p0, Symbol.XamarinEMDK.EMDKManager.IEMDKListener p1);

Use this static method to request an instance of the EMDKManager object. Clients must implement EMDKManager.IEMDKListener to get notified of the EMDK manager status and to get the EMDKManager object.

Parameters:

  • Android.Content.Context p0 - The application context should be provided by the user.
  • Symbol.XamarinEMDK.EMDKManager.IEMDKListener p1 - The EMDK Listener for listener callbacks.

Returns - Symbol.XamarinEMDK.EMDKResults

GetInstance

public virtual Symbol.XamarinEMDK.EMDKBase GetInstance (Symbol.XamarinEMDK.EMDKManager.FEATURE_TYPE p0);

This method returns an object instance which has derived from EMDKBase. Based on the type given, the object needs to be type-casted before used. Calling this method EMDKManager.getInstance(EMDKManager.FEATURE_TYPE) before EMDKManager opened will return null.

Parameters:

  • Symbol.XamarinEMDK.EMDKManager.FEATURE_TYPE p0 - The EMDKManager.FEATURE_TYPE the object to be created.

Returns - Symbol.XamarinEMDK.EMDKBase

Release

public virtual void Release ();

This method releases all the resources constructed by EMDKManager. EMDKManager can't be used after this call. The clients must call this method before exiting the application.

Returns - System.Void

Release

public virtual void Release (Symbol.XamarinEMDK.EMDKManager.FEATURE_TYPE p0);

This method releases resources of a given manager type. Instance variable is not required as multiple instances are not allowed by design.

Parameters:

  • Symbol.XamarinEMDK.EMDKManager.FEATURE_TYPE p0 - Type of EMDKManager.FEATURE_TYPE to be released. Only the given feature related manager will be cleared if it has been constructed.

Returns - System.Void