Interface IMobileOs


  • public interface IMobileOs
    Describes a specific type of supported mobile OS. Mobile OS are defined by extensions. Mobile OS extension is defined in plugin.xml.

    Following is an example definition of a mobile OS extension:

     <extension point="com._1c.g5.v8.dt.platform.services.mobile.mobileOs">
       <OS
          id="com._1c.g5.v8.dt.platform.services.mobile.mobileOs.SomeOs"
          name="Some Mobile OS"
          applicationComponentType="com._1c.g5.v8.dt.platform.services.mobile.componentTypes.SomeOsMobilePlatform">
          clientComponentType="com._1c.g5.v8.dt.platform.services.mobile.componentTypes.SomeOsMobileClient">
       </OS>
     </extension>
     

    Defined supported mobile OS can be used in 1C:Enterprise mobile OS dependent services and extensions.

    Clients may register IMobileApplicationLauncher and IMobileClientLauncher mobile 1C:Enterprise runtime components for the specified in extension runtime component type for mobile client and application. Also, clients may register IMobileDeviceManagerDelegate to get and launch appropriate mobile devices. Registered mobile application launcher and device manager delegate will be automatically used by the mobile application launch delegate and launch configuration.

    Clients may use IMobileOsRegistry to get all registered mobile OS.

    See Also:
    IMobileApplicationLauncher, IMobileClientLauncher, IMobileDeviceManagerDelegate
    Restriction:
    This interface is not intended to be extended by clients.
    Restriction:
    This interface is not intended to be implemented by clients.
    • Method Detail

      • getId

        String getId()
        Returns this supported mobile OS identifier. This corresponds to the id attribute specified in the extension definition.
        Returns:
        the supported mobile OS identifier, never null
      • getName

        String getName()
        Returns this supported mobile OS name (text presentation). This corresponds to the name attribute specified in the extension definition.
        Returns:
        the supported mobile OS name, never null
      • getApplicationComponentType

        IRuntimeComponentType getApplicationComponentType()
        Returns this supported mobile OS 1C:Enterprise runtime component type for mobile application. This corresponds to the applicationComponentType attribute specified in the extension definition.
        Returns:
        the supported mobile OS 1C:Enterprise mobile application component type, never null
      • getClientComponentType

        IRuntimeComponentType getClientComponentType()
        Returns this supported mobile OS 1C:Enterprise runtime component type for mobile client. This corresponds to the clientComponentType attribute specified in the extension definition.
        Returns:
        the supported mobile OS 1C:Enterprise mobile client component type, never null