Interface IMobileOs
-
public interface IMobileOs
Describes a specific type of supported mobile OS. Mobile OS are defined by extensions. Mobile OS extension is defined inplugin.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
andIMobileClientLauncher
mobile 1C:Enterprise runtime components for the specified in extension runtime component type for mobile client and application. Also, clients may registerIMobileDeviceManagerDelegate
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IRuntimeComponentType
getApplicationComponentType()
Returns this supported mobile OS 1C:Enterprise runtime component type for mobile application.IRuntimeComponentType
getClientComponentType()
Returns this supported mobile OS 1C:Enterprise runtime component type for mobile client.String
getId()
Returns this supported mobile OS identifier.String
getName()
Returns this supported mobile OS name (text presentation).
-
-
-
Method Detail
-
getId
String getId()
Returns this supported mobile OS identifier. This corresponds to theid
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 thename
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 theapplicationComponentType
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 theclientComponentType
attribute specified in the extension definition.- Returns:
- the supported mobile OS 1C:Enterprise mobile client component type, never
null
-
-