@extscreen/es-core 3.0.1 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.js +218 -192
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1455,6 +1455,151 @@ class ESFileModule {
1455
1455
 
1456
1456
  var ESFileModule$1 = new ESFileModule();
1457
1457
 
1458
+ const ES_SDK_VERSION_20 = -1;
1459
+ const ES_SDK_VERSION_21 = 2.1;
1460
+ const ES_SDK_VERSION_22 = 2.2;
1461
+ const ES_SDK_VERSION_22_1 = 2.21;
1462
+ const ES_SDK_VERSION_23 = 2.3;
1463
+ const ES_SDK_VERSION_24 = 2.4;
1464
+ const ES_SDK_VERSION_25 = 2.5;
1465
+ const ES_SDK_VERSION_26 = 2.6;
1466
+ const ES_SDK_VERSION_27 = 2.7;
1467
+ const ES_SDK_VERSION_28 = 2.8;
1468
+ const ES_SDK_VERSION_29 = 2.9;
1469
+ const ES_SDK_VERSION_30 = 3.0;
1470
+
1471
+ /**
1472
+ *
1473
+ */
1474
+
1475
+ class ESManager {
1476
+
1477
+ _esSdkCid = null;
1478
+ _esSdkVersionCode = null;
1479
+ _esSdkVersionName = null;
1480
+ _esSdkPackageName = null;
1481
+ _esMiniProgramPath = null;
1482
+ _esKitVersionCode = -1;
1483
+ _esSdkSchemes = [];
1484
+ _runtimePath = null;
1485
+
1486
+ _esSdkInfo = null;
1487
+
1488
+
1489
+ init() {
1490
+ return Promise.resolve()
1491
+ .then(() => this.initESInfoPromise())
1492
+ }
1493
+
1494
+ initESInfoPromise() {
1495
+ return ESModule$1.getESSDKInfo()
1496
+ .then((result) => {
1497
+ this._esSdkInfo = result;
1498
+ if (result) {
1499
+ this._esSdkVersionCode = result.versionCode;
1500
+ this._esSdkVersionName = result.versionName;
1501
+ this._esSdkPackageName = result.packageName;
1502
+ this._esMiniProgramPath = result.miniProgramPath;
1503
+ this._esSdkSchemes = result.schemes;
1504
+ if (result.eskit_ver_code) {
1505
+ this._esKitVersionCode = result.eskit_ver_code;
1506
+ }
1507
+ //
1508
+ this._runtimePath = result.runtimePath;
1509
+ }
1510
+ return ESModule$1.getESDeviceInfo();
1511
+ }
1512
+ )
1513
+ //获取cid
1514
+ .then((result) => {
1515
+ if (result) {
1516
+ this._esSdkCid = result.cid;
1517
+ }
1518
+ return Promise.resolve();
1519
+ }
1520
+ );
1521
+ }
1522
+
1523
+ getESSDKInfo() {
1524
+ return this._esSdkInfo;
1525
+ }
1526
+
1527
+ getESSDKCid() {
1528
+ return this._esSdkCid;
1529
+ }
1530
+
1531
+ getESSDKVersionCode() {
1532
+ return this._esKitVersionCode;
1533
+ }
1534
+
1535
+ getESSDKVersionName() {
1536
+ return this._esSdkVersionName;
1537
+ }
1538
+
1539
+ getESPackageName() {
1540
+ return this._esSdkPackageName;
1541
+ }
1542
+
1543
+ getESVersionCode() {
1544
+ return this._esSdkVersionCode;
1545
+ }
1546
+
1547
+ getESVersionName() {
1548
+ return this._esSdkVersionName;
1549
+ }
1550
+
1551
+ /**
1552
+ * 获取EsApp路径, 用于文件存储管理
1553
+ * @return
1554
+ * /data/data/APK包名/app_rpk/apps/小程序包名/files
1555
+ * 示例:/data/data/com.extscreen.runtime/app_rpk/apps/es.com.baduanjin.tv/files
1556
+ */
1557
+ getESMiniProgramPath() {
1558
+ return this._esMiniProgramPath;
1559
+ }
1560
+
1561
+ /**
1562
+ * 获取EsApp路径, 用于文件存储管理
1563
+ * @return
1564
+ * /data/data/APK包名/app_rpk/apps/小程序包名/files
1565
+ * 示例:/data/data/com.extscreen.runtime/app_rpk/apps/es.com.baduanjin.tv/files
1566
+ */
1567
+ getESAppPath() {
1568
+ return this._esMiniProgramPath;
1569
+ }
1570
+
1571
+ /**
1572
+ * 获取EsApp运行时路径, 通常用于获取代码包里的assets
1573
+ * @return
1574
+ * /data/data/APK包名/app_rpk/apps/小程序包名/版本号/android
1575
+ * 示例:/data/data/com.extscreen.runtime/app_rpk/apps/es.com.baduanjin.tv/2.2.2203/android
1576
+ */
1577
+ getESAppRuntimePath() {
1578
+ if (this.getESSDKVersionCode() >= ES_SDK_VERSION_22) {
1579
+ return this._runtimePath;
1580
+ }
1581
+ //
1582
+ else {
1583
+ return this._esMiniProgramPath;
1584
+ }
1585
+ }
1586
+
1587
+ getESSDKSupportSchemes() {
1588
+ return this._esSdkSchemes;
1589
+ }
1590
+
1591
+ //----------------------------组件和模块注册相关--------------------------------------------
1592
+ isModuleRegistered(className) {
1593
+ return ESModule$1.isModuleRegistered(className);
1594
+ }
1595
+
1596
+ isComponentRegistered(className) {
1597
+ return ESModule$1.isComponentRegistered(className);
1598
+ }
1599
+ }
1600
+
1601
+ var ESManager$1 = new ESManager();
1602
+
1458
1603
  /**
1459
1604
  *
1460
1605
  */
@@ -1476,11 +1621,19 @@ class ESFile {
1476
1621
  }
1477
1622
 
1478
1623
  newESFile(pathname) {
1479
- return ESFileModule$1.newESFile(pathname)
1480
- .then((fileId) => {
1481
- this._fileId = fileId;
1482
- return Promise.resolve(fileId);
1483
- });
1624
+ if (ESManager$1.getESSDKVersionCode() < ES_SDK_VERSION_22) {
1625
+ return ESFileModule$1.newFile(pathname)
1626
+ .then((fileId) => {
1627
+ this._fileId = fileId;
1628
+ return Promise.resolve(fileId);
1629
+ });
1630
+ } else {
1631
+ return ESFileModule$1.newESFile(pathname)
1632
+ .then((fileId) => {
1633
+ this._fileId = fileId;
1634
+ return Promise.resolve(fileId);
1635
+ });
1636
+ }
1484
1637
  }
1485
1638
 
1486
1639
  getFileId() {
@@ -1802,137 +1955,6 @@ class ESSharedPreferencesModule {
1802
1955
 
1803
1956
  var ESSharedPreferencesModule$1 = new ESSharedPreferencesModule();
1804
1957
 
1805
- /**
1806
- *
1807
- */
1808
-
1809
- class ESManager {
1810
-
1811
- _esSdkCid = null;
1812
- _esSdkVersionCode = null;
1813
- _esSdkVersionName = null;
1814
- _esSdkPackageName = null;
1815
- _esMiniProgramPath = null;
1816
- _esKitVersionCode = -1;
1817
- _esSdkSchemes = [];
1818
- _runtimePath = null;
1819
-
1820
- _esSdkInfo = null;
1821
-
1822
-
1823
- init() {
1824
- return Promise.resolve()
1825
- .then(() => this.initESInfoPromise())
1826
- }
1827
-
1828
- initESInfoPromise() {
1829
- return ESModule$1.getESSDKInfo()
1830
- .then((result) => {
1831
- this._esSdkInfo = result;
1832
- if (result) {
1833
- this._esSdkVersionCode = result.versionCode;
1834
- this._esSdkVersionName = result.versionName;
1835
- this._esSdkPackageName = result.packageName;
1836
- this._esMiniProgramPath = result.miniProgramPath;
1837
- this._esSdkSchemes = result.schemes;
1838
- if (result.eskit_ver_code) {
1839
- this._esKitVersionCode = result.eskit_ver_code;
1840
- }
1841
- //
1842
- this._runtimePath = result.runtimePath;
1843
- }
1844
- return ESModule$1.getESDeviceInfo();
1845
- }
1846
- )
1847
- //获取cid
1848
- .then((result) => {
1849
- if (result) {
1850
- this._esSdkCid = result.cid;
1851
- }
1852
- return Promise.resolve();
1853
- }
1854
- );
1855
- }
1856
-
1857
- getESSDKInfo() {
1858
- return this._esSdkInfo;
1859
- }
1860
-
1861
- getESSDKCid() {
1862
- return this._esSdkCid;
1863
- }
1864
-
1865
- getESSDKVersionCode() {
1866
- return this._esKitVersionCode;
1867
- }
1868
-
1869
- getESSDKVersionName() {
1870
- return this._esSdkVersionName;
1871
- }
1872
-
1873
- getESPackageName() {
1874
- return this._esSdkPackageName;
1875
- }
1876
-
1877
- getESVersionCode() {
1878
- return this._esSdkVersionCode;
1879
- }
1880
-
1881
- getESVersionName() {
1882
- return this._esSdkVersionName;
1883
- }
1884
-
1885
- /**
1886
- * 获取EsApp路径, 用于文件存储管理
1887
- * @return
1888
- * /data/data/APK包名/app_rpk/apps/小程序包名/files
1889
- * 示例:/data/data/com.extscreen.runtime/app_rpk/apps/es.com.baduanjin.tv/files
1890
- */
1891
- getESMiniProgramPath() {
1892
- return this._esMiniProgramPath;
1893
- }
1894
-
1895
- /**
1896
- * 获取EsApp路径, 用于文件存储管理
1897
- * @return
1898
- * /data/data/APK包名/app_rpk/apps/小程序包名/files
1899
- * 示例:/data/data/com.extscreen.runtime/app_rpk/apps/es.com.baduanjin.tv/files
1900
- */
1901
- getESAppPath() {
1902
- return this._esMiniProgramPath;
1903
- }
1904
-
1905
- /**
1906
- * 获取EsApp运行时路径, 通常用于获取代码包里的assets
1907
- * @return
1908
- * /data/data/APK包名/app_rpk/apps/小程序包名/版本号/android
1909
- * 示例:/data/data/com.extscreen.runtime/app_rpk/apps/es.com.baduanjin.tv/2.2.2203/android
1910
- */
1911
- getESAppRuntimePath() {
1912
- return this._runtimePath;
1913
- }
1914
-
1915
- getESSDKSupportSchemes() {
1916
- return this._esSdkSchemes;
1917
- }
1918
-
1919
- //----------------------------组件和模块注册相关--------------------------------------------
1920
- isModuleRegistered(className) {
1921
- return ESModule$1.isModuleRegistered(className);
1922
- }
1923
-
1924
- isComponentRegistered(className) {
1925
- return ESModule$1.isComponentRegistered(className);
1926
- }
1927
- }
1928
-
1929
- var ESManager$1 = new ESManager();
1930
-
1931
- const ES_SDK_VERSION_20 = -1;
1932
- const ES_SDK_VERSION_21 = 2.1;
1933
- const ES_SDK_VERSION_22 = 2.2;
1934
- const ES_SDK_VERSION_22_1 = 2.21;
1935
-
1936
1958
  /**
1937
1959
  *
1938
1960
  */
@@ -3250,11 +3272,11 @@ class ESRouterLifecycleManager {
3250
3272
  * @param route
3251
3273
  * @param params
3252
3274
  */
3253
- onESRouterLifecycleNewIntent(route, params) {
3275
+ onESRouterLifecycleNewIntent(route, params, intent) {
3254
3276
  let componentInstance = this.getComponentInstance(route);
3255
3277
  let lifecycleChanged = this.isFunction(componentInstance.onESNewIntent);
3256
3278
  if (componentInstance && lifecycleChanged) {
3257
- componentInstance.onESNewIntent(params);
3279
+ componentInstance.onESNewIntent(params, intent);
3258
3280
  } else {
3259
3281
  if (ESLog.isLoggable(ESLog.DEBUG)) {
3260
3282
  ESLog.d(TAG$4, '#-------onESRouterLifecycleNewIntent-----实例对象为空------>>>>>');
@@ -3335,7 +3357,7 @@ var ESRouter = {
3335
3357
  if (router && router.history && router.history.stack
3336
3358
  && router.history.stack.length > 0) {
3337
3359
  let route = router.currentRoute;
3338
- ESRouterLifecycleManager$1.onESRouterLifecycleNewIntent(route, intent.params);
3360
+ ESRouterLifecycleManager$1.onESRouterLifecycleNewIntent(route, intent.params, intent);
3339
3361
  }
3340
3362
  }
3341
3363
  },
@@ -3416,7 +3438,7 @@ var ESPageLifecycle = {
3416
3438
  onESDestroy() {
3417
3439
 
3418
3440
  },
3419
- onESNewIntent(intent) {
3441
+ onESNewIntent(params, intent) {
3420
3442
 
3421
3443
  },
3422
3444
  onESSaveInstanceState(savedInstanceState) {
@@ -4131,57 +4153,61 @@ var ESUsbDeviceMixin = {
4131
4153
  },
4132
4154
  };
4133
4155
 
4134
- const AUDIO_CONTENT_TYPE_UNKNOWN = 0;
4135
- const AUDIO_CONTENT_TYPE_SPEECH = 1;
4136
- const AUDIO_CONTENT_TYPE_MUSIC = 2;
4137
- const AUDIO_CONTENT_TYPE_MOVIE = 3;
4138
- const AUDIO_CONTENT_TYPE_SONIFICATION = 4;
4139
-
4140
- const AUDIO_STREAM_DEFAULT = -1;
4141
- const AUDIO_STREAM_VOICE_CALL = 0;
4142
- const AUDIO_STREAM_SYSTEM = 1;
4143
- const AUDIO_STREAM_RING = 2;
4144
- const AUDIO_STREAM_MUSIC = 3;
4145
- const AUDIO_STREAM_ALARM = 4;
4146
- const AUDIO_STREAM_NOTIFICATION = 5;
4147
- const AUDIO_STREAM_BLUETOOTH_SCO = 6;
4148
- const AUDIO_STREAM_SYSTEM_ENFORCED = 7;
4149
- const AUDIO_STREAM_DTMF = 8;
4150
- const AUDIO_STREAM_TTS = 9;
4151
- const AUDIO_STREAM_ACCESSIBILITY = 10;
4152
- const AUDIO_STREAM_ASSISTANT = 11;
4153
-
4154
- const AUDIO_MANAGER_FLAG_SHOW_UI = 1 << 0;
4155
- const AUDIO_MANAGER_FLAG_ALLOW_RINGER_MODES = 1 << 1;
4156
- const AUDIO_MANAGER_FLAG_PLAY_SOUND = 1 << 2;
4157
- const AUDIO_MANAGER_FLAG_REMOVE_SOUND_AND_VIBRATE = 1 << 3;
4158
- const AUDIO_MANAGER_FLAG_VIBRATE = 1 << 4;
4159
- const AUDIO_MANAGER_FLAG_FIXED_VOLUME = 1 << 5;
4160
- const AUDIO_MANAGER_FLAG_BLUETOOTH_ABS_VOLUME = 1 << 6;
4161
- const AUDIO_MANAGER_FLAG_SHOW_SILENT_HINT = 1 << 7;
4162
- const AUDIO_MANAGER_FLAG_HDMI_SYSTEM_AUDIO_VOLUME = 1 << 8;
4163
- const AUDIO_MANAGER_FLAG_ACTIVE_MEDIA_ONLY = 1 << 9;
4164
- const AUDIO_MANAGER_FLAG_SHOW_UI_WARNINGS = 1 << 10;
4165
- const AUDIO_MANAGER_FLAG_SHOW_VIBRATE_HINT = 1 << 11;
4166
-
4167
- const AUDIO_USAGE_INVALID = -1;
4168
- const AUDIO_USAGE_UNKNOWN = 0;
4169
- const AUDIO_USAGE_MEDIA = 1;
4170
- const AUDIO_USAGE_VOICE_COMMUNICATION = 2;
4171
- const AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING = 3;
4172
- const AUDIO_USAGE_ALARM = 4;
4173
- const AUDIO_USAGE_NOTIFICATION = 5;
4174
- const AUDIO_USAGE_NOTIFICATION_RINGTONE = 6;
4175
- const AUDIO_USAGE_NOTIFICATION_COMMUNICATION_REQUEST = 7;
4176
- const AUDIO_USAGE_NOTIFICATION_COMMUNICATION_INSTANT = 8;
4177
- const AUDIO_USAGE_NOTIFICATION_COMMUNICATION_DELAYED = 9;
4178
- const AUDIO_USAGE_NOTIFICATION_EVENT = 10;
4179
- const AUDIO_USAGE_ASSISTANCE_ACCESSIBILITY = 11;
4180
- const AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE = 12;
4181
- const AUDIO_USAGE_ASSISTANCE_SONIFICATION = 13;
4182
- const AUDIO_USAGE_GAME = 14;
4183
- const AUDIO_USAGE_VIRTUAL_SOURCE = 15;
4184
- const AUDIO_USAGE_ASSISTANT = 16;
4156
+ const ES_AUDIO_CONTENT_TYPE_UNKNOWN = 0;
4157
+ const ES_AUDIO_CONTENT_TYPE_SPEECH = 1;
4158
+ const ES_AUDIO_CONTENT_TYPE_MUSIC = 2;
4159
+ const ES_AUDIO_CONTENT_TYPE_MOVIE = 3;
4160
+ const ES_AUDIO_CONTENT_TYPE_SONIFICATION = 4;
4161
+
4162
+ const ES_AUDIO_STREAM_DEFAULT = -1;
4163
+ const ES_AUDIO_STREAM_VOICE_CALL = 0;
4164
+ const ES_AUDIO_STREAM_SYSTEM = 1;
4165
+ const ES_AUDIO_STREAM_RING = 2;
4166
+ const ES_AUDIO_STREAM_MUSIC = 3;
4167
+ const ES_AUDIO_STREAM_ALARM = 4;
4168
+ const ES_AUDIO_STREAM_NOTIFICATION = 5;
4169
+ const ES_AUDIO_STREAM_BLUETOOTH_SCO = 6;
4170
+ const ES_AUDIO_STREAM_SYSTEM_ENFORCED = 7;
4171
+ const ES_AUDIO_STREAM_DTMF = 8;
4172
+ const ES_AUDIO_STREAM_TTS = 9;
4173
+ const ES_AUDIO_STREAM_ACCESSIBILITY = 10;
4174
+ const ES_AUDIO_STREAM_ASSISTANT = 11;
4175
+
4176
+ const ES_AUDIO_MANAGER_FLAG_SHOW_UI = 1 << 0;
4177
+ const ES_AUDIO_MANAGER_FLAG_ALLOW_RINGER_MODES = 1 << 1;
4178
+ const ES_AUDIO_MANAGER_FLAG_PLAY_SOUND = 1 << 2;
4179
+ const ES_AUDIO_MANAGER_FLAG_REMOVE_SOUND_AND_VIBRATE = 1 << 3;
4180
+ const ES_AUDIO_MANAGER_FLAG_VIBRATE = 1 << 4;
4181
+ const ES_AUDIO_MANAGER_FLAG_FIXED_VOLUME = 1 << 5;
4182
+ const ES_AUDIO_MANAGER_FLAG_BLUETOOTH_ABS_VOLUME = 1 << 6;
4183
+ const ES_AUDIO_MANAGER_FLAG_SHOW_SILENT_HINT = 1 << 7;
4184
+ const ES_AUDIO_MANAGER_FLAG_HDMI_SYSTEM_AUDIO_VOLUME = 1 << 8;
4185
+ const ES_AUDIO_MANAGER_FLAG_ACTIVE_MEDIA_ONLY = 1 << 9;
4186
+ const ES_AUDIO_MANAGER_FLAG_SHOW_UI_WARNINGS = 1 << 10;
4187
+ const ES_AUDIO_MANAGER_FLAG_SHOW_VIBRATE_HINT = 1 << 11;
4188
+
4189
+ const ES_AUDIO_USAGE_INVALID = -1;
4190
+ const ES_AUDIO_USAGE_UNKNOWN = 0;
4191
+ const ES_AUDIO_USAGE_MEDIA = 1;
4192
+ const ES_AUDIO_USAGE_VOICE_COMMUNICATION = 2;
4193
+ const ES_AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING = 3;
4194
+ const ES_AUDIO_USAGE_ALARM = 4;
4195
+ const ES_AUDIO_USAGE_NOTIFICATION = 5;
4196
+ const ES_AUDIO_USAGE_NOTIFICATION_RINGTONE = 6;
4197
+ const ES_AUDIO_USAGE_NOTIFICATION_COMMUNICATION_REQUEST = 7;
4198
+ const ES_AUDIO_USAGE_NOTIFICATION_COMMUNICATION_INSTANT = 8;
4199
+ const ES_AUDIO_USAGE_NOTIFICATION_COMMUNICATION_DELAYED = 9;
4200
+ const ES_AUDIO_USAGE_NOTIFICATION_EVENT = 10;
4201
+ const ES_AUDIO_USAGE_ASSISTANCE_ACCESSIBILITY = 11;
4202
+ const ES_AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE = 12;
4203
+ const ES_AUDIO_USAGE_ASSISTANCE_SONIFICATION = 13;
4204
+ const ES_AUDIO_USAGE_GAME = 14;
4205
+ const ES_AUDIO_USAGE_VIRTUAL_SOURCE = 15;
4206
+ const ES_AUDIO_USAGE_ASSISTANT = 16;
4207
+
4208
+ const ES_AUDIO_DIRECTION_ADJUST_RAISE = 1;
4209
+ const ES_AUDIO_DIRECTION_ADJUST_LOWER = -1;
4210
+ const ES_AUDIO_DIRECTION_ADJUST_SAME = 0;
4185
4211
 
4186
4212
  /**
4187
4213
  * 处理back key事件
@@ -4243,4 +4269,4 @@ const ES_KEYCODE_ESCAPE = 111;
4243
4269
  const ES_KEYCODE_MENU = 82;
4244
4270
  const ES_KEYCODE_SEARCH = 84;
4245
4271
 
4246
- export { AUDIO_CONTENT_TYPE_MOVIE, AUDIO_CONTENT_TYPE_MUSIC, AUDIO_CONTENT_TYPE_SONIFICATION, AUDIO_CONTENT_TYPE_SPEECH, AUDIO_CONTENT_TYPE_UNKNOWN, AUDIO_MANAGER_FLAG_ACTIVE_MEDIA_ONLY, AUDIO_MANAGER_FLAG_ALLOW_RINGER_MODES, AUDIO_MANAGER_FLAG_BLUETOOTH_ABS_VOLUME, AUDIO_MANAGER_FLAG_FIXED_VOLUME, AUDIO_MANAGER_FLAG_HDMI_SYSTEM_AUDIO_VOLUME, AUDIO_MANAGER_FLAG_PLAY_SOUND, AUDIO_MANAGER_FLAG_REMOVE_SOUND_AND_VIBRATE, AUDIO_MANAGER_FLAG_SHOW_SILENT_HINT, AUDIO_MANAGER_FLAG_SHOW_UI, AUDIO_MANAGER_FLAG_SHOW_UI_WARNINGS, AUDIO_MANAGER_FLAG_SHOW_VIBRATE_HINT, AUDIO_MANAGER_FLAG_VIBRATE, AUDIO_STREAM_ACCESSIBILITY, AUDIO_STREAM_ALARM, AUDIO_STREAM_ASSISTANT, AUDIO_STREAM_BLUETOOTH_SCO, AUDIO_STREAM_DEFAULT, AUDIO_STREAM_DTMF, AUDIO_STREAM_MUSIC, AUDIO_STREAM_NOTIFICATION, AUDIO_STREAM_RING, AUDIO_STREAM_SYSTEM, AUDIO_STREAM_SYSTEM_ENFORCED, AUDIO_STREAM_TTS, AUDIO_STREAM_VOICE_CALL, AUDIO_USAGE_ALARM, AUDIO_USAGE_ASSISTANCE_ACCESSIBILITY, AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, AUDIO_USAGE_ASSISTANCE_SONIFICATION, AUDIO_USAGE_ASSISTANT, AUDIO_USAGE_GAME, AUDIO_USAGE_INVALID, AUDIO_USAGE_MEDIA, AUDIO_USAGE_NOTIFICATION, AUDIO_USAGE_NOTIFICATION_COMMUNICATION_DELAYED, AUDIO_USAGE_NOTIFICATION_COMMUNICATION_INSTANT, AUDIO_USAGE_NOTIFICATION_COMMUNICATION_REQUEST, AUDIO_USAGE_NOTIFICATION_EVENT, AUDIO_USAGE_NOTIFICATION_RINGTONE, AUDIO_USAGE_UNKNOWN, AUDIO_USAGE_VIRTUAL_SOURCE, AUDIO_USAGE_VOICE_COMMUNICATION, AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING, ES$1 as ES, ESApp, ESAppManager$1 as ESAppManager, ESAppModule$1 as ESAppModule, ESApplication, ESAudioManager$1 as ESAudioManager, ESAudioModule$1 as ESAudioModule, ESBackPress, ESBackPressMixin, ESBroadcast, ESBroadcastManager$1 as ESBroadcastManager, ESDevelopManager$1 as ESDevelopManager, ESDevelopModule$1 as ESDevelopModule, ESDeviceManager$1 as ESDeviceManager, ESDeviceModule$1 as ESDeviceModule, ESDisplayManager$1 as ESDisplayManager, ESEventBus$1 as ESEventBus, ESEventBusEvent, ESFile, ESFileModule$1 as ESFileModule, ESFocusManager$1 as ESFocusManager, ESFocusModule$1 as ESFocusModule, ESKeyEvent, ESKeyEventMixin, ESLaunchManager$1 as ESLaunchManager, ESLocalStorage$1 as ESLocalStorage, ESMMapManager$1 as ESMMapManager, ESMMapModule$1 as ESMMapModule, ESManager$1 as ESManager, ESModule$1 as ESModule, ESNetwork, ESNetworkManager$1 as ESNetworkManager, ESNetworkMixin, ESNetworkModule$1 as ESNetworkModule, ESPage, ESPageLifecycle, ESPermissionManager$1 as ESPermissionManager, ESPermissionModule$1 as ESPermissionModule, ESPlugin, ESPluginManager$1 as ESPluginManager, ESPluginModule$1 as ESPluginModule, ESPowerManager$1 as ESPowerManager, ESPowerModule$1 as ESPowerModule, ESRouter, ESSharedPreferencesManager$1 as ESSharedPreferencesManager, ESSharedPreferencesModule$1 as ESSharedPreferencesModule, ESStorageManager$1 as ESStorageManager, ESStorageModule$1 as ESStorageModule, ESToast$1 as ESToast, ToastModule as ESToastModule, ESUsbDevice, ESUsbDeviceManager$1 as ESUsbDeviceManager, ESUsbDeviceMixin, ESUsbDeviceModule$1 as ESUsbDeviceModule, ES_KEYCODE_BACK, ES_KEYCODE_DPAD_CENTER, ES_KEYCODE_DPAD_DOWN, ES_KEYCODE_DPAD_LEFT, ES_KEYCODE_DPAD_RIGHT, ES_KEYCODE_DPAD_UP, ES_KEYCODE_ENTER, ES_KEYCODE_ESCAPE, ES_KEYCODE_MENU, ES_KEYCODE_SEARCH, ES_KEY_ACTION_DOWN, ES_KEY_ACTION_UP, ES_LIFECYCLE_ON_CREATE, ES_LIFECYCLE_ON_DESTROY, ES_LIFECYCLE_ON_INITIALIZED, ES_LIFECYCLE_ON_PAUSE, ES_LIFECYCLE_ON_RESTART, ES_LIFECYCLE_ON_RESTORE_INSTANCE_SATE, ES_LIFECYCLE_ON_RESUME, ES_LIFECYCLE_ON_SAVE_INSTANCE_SATE, ES_LIFECYCLE_ON_START, ES_LIFECYCLE_ON_STOP, ES_LIFECYCLE_ON_UNINITIALIZED, ES_MMP_MODE_PRIVATE, ES_MMP_MODE_WORLD_READABLE, ES_MMP_MODE_WORLD_WRITEABLE, ES_NETWORK_INFO_STATE_CONNECTED, ES_NETWORK_INFO_STATE_CONNECTING, ES_NETWORK_INFO_STATE_DISCONNECTED, ES_NETWORK_INFO_STATE_DISCONNECTING, ES_NETWORK_INFO_STATE_SUSPENDED, ES_NETWORK_INFO_STATE_UNKNOWN, ES_NETWORK_INFO_TYPE_ETHERNET, ES_NETWORK_INFO_TYPE_MOBILE, ES_NETWORK_INFO_TYPE_NONE, ES_NETWORK_INFO_TYPE_WIFI, ES_SDK_VERSION_20, ES_SDK_VERSION_21, ES_SDK_VERSION_22, ES_SDK_VERSION_22_1, KEYCODE_BACK, KEYCODE_DPAD_CENTER, KEYCODE_DPAD_DOWN, KEYCODE_DPAD_LEFT, KEYCODE_DPAD_RIGHT, KEYCODE_DPAD_UP, KEYCODE_ENTER, KEYCODE_ESCAPE, KEYCODE_MENU, KEYCODE_SEARCH, KEY_ACTION_DOWN, KEY_ACTION_UP, Toast$1 as Toast, getESApp, setESApp };
4272
+ export { ES$1 as ES, ESApp, ESAppManager$1 as ESAppManager, ESAppModule$1 as ESAppModule, ESApplication, ESAudioManager$1 as ESAudioManager, ESAudioModule$1 as ESAudioModule, ESBackPress, ESBackPressMixin, ESBroadcast, ESBroadcastManager$1 as ESBroadcastManager, ESDevelopManager$1 as ESDevelopManager, ESDevelopModule$1 as ESDevelopModule, ESDeviceManager$1 as ESDeviceManager, ESDeviceModule$1 as ESDeviceModule, ESDisplayManager$1 as ESDisplayManager, ESEventBus$1 as ESEventBus, ESEventBusEvent, ESFile, ESFileModule$1 as ESFileModule, ESFocusManager$1 as ESFocusManager, ESFocusModule$1 as ESFocusModule, ESKeyEvent, ESKeyEventMixin, ESLaunchManager$1 as ESLaunchManager, ESLocalStorage$1 as ESLocalStorage, ESMMapManager$1 as ESMMapManager, ESMMapModule$1 as ESMMapModule, ESManager$1 as ESManager, ESModule$1 as ESModule, ESNetwork, ESNetworkManager$1 as ESNetworkManager, ESNetworkMixin, ESNetworkModule$1 as ESNetworkModule, ESPage, ESPageLifecycle, ESPermissionManager$1 as ESPermissionManager, ESPermissionModule$1 as ESPermissionModule, ESPlugin, ESPluginManager$1 as ESPluginManager, ESPluginModule$1 as ESPluginModule, ESPowerManager$1 as ESPowerManager, ESPowerModule$1 as ESPowerModule, ESRouter, ESSharedPreferencesManager$1 as ESSharedPreferencesManager, ESSharedPreferencesModule$1 as ESSharedPreferencesModule, ESStorageManager$1 as ESStorageManager, ESStorageModule$1 as ESStorageModule, ESToast$1 as ESToast, ToastModule as ESToastModule, ESUsbDevice, ESUsbDeviceManager$1 as ESUsbDeviceManager, ESUsbDeviceMixin, ESUsbDeviceModule$1 as ESUsbDeviceModule, ES_AUDIO_CONTENT_TYPE_MOVIE, ES_AUDIO_CONTENT_TYPE_MUSIC, ES_AUDIO_CONTENT_TYPE_SONIFICATION, ES_AUDIO_CONTENT_TYPE_SPEECH, ES_AUDIO_CONTENT_TYPE_UNKNOWN, ES_AUDIO_DIRECTION_ADJUST_LOWER, ES_AUDIO_DIRECTION_ADJUST_RAISE, ES_AUDIO_DIRECTION_ADJUST_SAME, ES_AUDIO_MANAGER_FLAG_ACTIVE_MEDIA_ONLY, ES_AUDIO_MANAGER_FLAG_ALLOW_RINGER_MODES, ES_AUDIO_MANAGER_FLAG_BLUETOOTH_ABS_VOLUME, ES_AUDIO_MANAGER_FLAG_FIXED_VOLUME, ES_AUDIO_MANAGER_FLAG_HDMI_SYSTEM_AUDIO_VOLUME, ES_AUDIO_MANAGER_FLAG_PLAY_SOUND, ES_AUDIO_MANAGER_FLAG_REMOVE_SOUND_AND_VIBRATE, ES_AUDIO_MANAGER_FLAG_SHOW_SILENT_HINT, ES_AUDIO_MANAGER_FLAG_SHOW_UI, ES_AUDIO_MANAGER_FLAG_SHOW_UI_WARNINGS, ES_AUDIO_MANAGER_FLAG_SHOW_VIBRATE_HINT, ES_AUDIO_MANAGER_FLAG_VIBRATE, ES_AUDIO_STREAM_ACCESSIBILITY, ES_AUDIO_STREAM_ALARM, ES_AUDIO_STREAM_ASSISTANT, ES_AUDIO_STREAM_BLUETOOTH_SCO, ES_AUDIO_STREAM_DEFAULT, ES_AUDIO_STREAM_DTMF, ES_AUDIO_STREAM_MUSIC, ES_AUDIO_STREAM_NOTIFICATION, ES_AUDIO_STREAM_RING, ES_AUDIO_STREAM_SYSTEM, ES_AUDIO_STREAM_SYSTEM_ENFORCED, ES_AUDIO_STREAM_TTS, ES_AUDIO_STREAM_VOICE_CALL, ES_AUDIO_USAGE_ALARM, ES_AUDIO_USAGE_ASSISTANCE_ACCESSIBILITY, ES_AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, ES_AUDIO_USAGE_ASSISTANCE_SONIFICATION, ES_AUDIO_USAGE_ASSISTANT, ES_AUDIO_USAGE_GAME, ES_AUDIO_USAGE_INVALID, ES_AUDIO_USAGE_MEDIA, ES_AUDIO_USAGE_NOTIFICATION, ES_AUDIO_USAGE_NOTIFICATION_COMMUNICATION_DELAYED, ES_AUDIO_USAGE_NOTIFICATION_COMMUNICATION_INSTANT, ES_AUDIO_USAGE_NOTIFICATION_COMMUNICATION_REQUEST, ES_AUDIO_USAGE_NOTIFICATION_EVENT, ES_AUDIO_USAGE_NOTIFICATION_RINGTONE, ES_AUDIO_USAGE_UNKNOWN, ES_AUDIO_USAGE_VIRTUAL_SOURCE, ES_AUDIO_USAGE_VOICE_COMMUNICATION, ES_AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING, ES_KEYCODE_BACK, ES_KEYCODE_DPAD_CENTER, ES_KEYCODE_DPAD_DOWN, ES_KEYCODE_DPAD_LEFT, ES_KEYCODE_DPAD_RIGHT, ES_KEYCODE_DPAD_UP, ES_KEYCODE_ENTER, ES_KEYCODE_ESCAPE, ES_KEYCODE_MENU, ES_KEYCODE_SEARCH, ES_KEY_ACTION_DOWN, ES_KEY_ACTION_UP, ES_LIFECYCLE_ON_CREATE, ES_LIFECYCLE_ON_DESTROY, ES_LIFECYCLE_ON_INITIALIZED, ES_LIFECYCLE_ON_PAUSE, ES_LIFECYCLE_ON_RESTART, ES_LIFECYCLE_ON_RESTORE_INSTANCE_SATE, ES_LIFECYCLE_ON_RESUME, ES_LIFECYCLE_ON_SAVE_INSTANCE_SATE, ES_LIFECYCLE_ON_START, ES_LIFECYCLE_ON_STOP, ES_LIFECYCLE_ON_UNINITIALIZED, ES_MMP_MODE_PRIVATE, ES_MMP_MODE_WORLD_READABLE, ES_MMP_MODE_WORLD_WRITEABLE, ES_NETWORK_INFO_STATE_CONNECTED, ES_NETWORK_INFO_STATE_CONNECTING, ES_NETWORK_INFO_STATE_DISCONNECTED, ES_NETWORK_INFO_STATE_DISCONNECTING, ES_NETWORK_INFO_STATE_SUSPENDED, ES_NETWORK_INFO_STATE_UNKNOWN, ES_NETWORK_INFO_TYPE_ETHERNET, ES_NETWORK_INFO_TYPE_MOBILE, ES_NETWORK_INFO_TYPE_NONE, ES_NETWORK_INFO_TYPE_WIFI, ES_SDK_VERSION_20, ES_SDK_VERSION_21, ES_SDK_VERSION_22, ES_SDK_VERSION_22_1, ES_SDK_VERSION_23, ES_SDK_VERSION_24, ES_SDK_VERSION_25, ES_SDK_VERSION_26, ES_SDK_VERSION_27, ES_SDK_VERSION_28, ES_SDK_VERSION_29, ES_SDK_VERSION_30, KEYCODE_BACK, KEYCODE_DPAD_CENTER, KEYCODE_DPAD_DOWN, KEYCODE_DPAD_LEFT, KEYCODE_DPAD_RIGHT, KEYCODE_DPAD_UP, KEYCODE_ENTER, KEYCODE_ESCAPE, KEYCODE_MENU, KEYCODE_SEARCH, KEY_ACTION_DOWN, KEY_ACTION_UP, Toast$1 as Toast, getESApp, setESApp };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extscreen/es-core",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {