public static void StartService(AppType type) { if (type == AppType.ElmSharp) { ElmSharpAdapter.Initialize(); } else { NUIAdapter.Initialize(); } }
public static void StartService(AppType type) { #if !__TIZEN4_0__ if (type == AppType.ElmSharp) { ElmSharpAdapter.Initialize(); } else { NUIAdapter.Initialize(); } #else throw new global::System.NotSupportedException("Use StartService(IAppAdapter adapter) instead on tizen40 TFM."); #endif }