/*********************************************************************
* ____ _____ _ *
* / ___| ___ _ __ _ _ | ____|_ __(_) ___ ___ ___ ___ _ __ *
* \___ \ / _ \| '_ \| | | | | _| | '__| |/ __/ __/ __|/ _ \| '_ \ *
* ___) | (_) | | | | |_| | | |___| | | | (__\__ \__ \ (_) | | | | *
* |____/ \___/|_| |_|\__, | |_____|_| |_|\___|___/___/\___/|_| |_| *
* |___/ *
* *
*********************************************************************
* Sony Ericsson Mobile Communications AB, Lund Sweden *
* Copyright 2007 Sony Ericsson Mobile Communications AB. *
* All rights, including trade secret rights, reserved. *
*********************************************************************
*
* @file
* @ingroup JAVA
*
* @copyright_semc
* @author MIDP
*/
package javax.microedition.midlet;
/**
* This interface represents the identity of another MIDlet that interacts with
* the current MIDlet by Inter-MIDlet Communication, exchanging application
* events or other means.
* <p>
* Through this interface, the current MIDlet can obtain the other MIDlet's
* suite name, version, vendor, and if the other MIDlet has been granted authorization
* using the Application level Access Authorization Mechanism.
*
* @since MIDP 3.0
*/
public interface MIDletIdentity {
/**
* Get the name of the MIDlet suite
*
* @return Name of the MIDlet suite
*/
public String getName();
/**
* Get version of the MIDlet suite
*
* @return Version string of the MIDlet suite
*/
public String getVersion();
/**
* Get vendor name of the MIDlet suite
*
* @return Vendor name of the MIDlet suite
*/
public String getVendor();
/**
* checks whether the MIDlet Suite is authorized via the application level access
* authorization mechanism.
*
* @return true if the MIDlet Suite is authorized. false, if the MIDlet Suite is not
* authorized.
*/
public boolean isAuthorized();
}
|