@extscreen/es-core 3.0.0 → 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 -179
  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,124 +1955,6 @@ class ESSharedPreferencesModule {
1802
1955
 
1803
1956
  var ESSharedPreferencesModule$1 = new ESSharedPreferencesModule();
1804
1957
 
1805
- /**
1806
- *
1807
- */
1808
-
1809
- class ESManager {
1810
-
1811
- _esSdkVersionCode = null;
1812
- _esSdkVersionName = null;
1813
- _esSdkPackageName = null;
1814
- _esMiniProgramPath = null;
1815
- _esKitVersionCode = -1;
1816
- _esSdkSchemes = [];
1817
- _runtimePath = null;
1818
-
1819
- _esSdkInfo = null;
1820
-
1821
-
1822
- init() {
1823
- return Promise.resolve()
1824
- .then(() => this.initESInfoPromise())
1825
- }
1826
-
1827
- initESInfoPromise() {
1828
- return ESModule$1.getESSDKInfo()
1829
- .then((result) => {
1830
- this._esSdkInfo = result;
1831
- if (result) {
1832
- this._esSdkVersionCode = result.versionCode;
1833
- this._esSdkVersionName = result.versionName;
1834
- this._esSdkPackageName = result.packageName;
1835
- this._esMiniProgramPath = result.miniProgramPath;
1836
- this._esSdkSchemes = result.schemes;
1837
- if (result.eskit_ver_code) {
1838
- this._esKitVersionCode = result.eskit_ver_code;
1839
- }
1840
- //
1841
- this._runtimePath = result.runtimePath;
1842
- }
1843
- return Promise.resolve();
1844
- }
1845
- );
1846
- }
1847
-
1848
- getESSDKInfo() {
1849
- return this._esSdkInfo;
1850
- }
1851
-
1852
- getESSDKVersionCode() {
1853
- return this._esKitVersionCode;
1854
- }
1855
-
1856
- getESSDKVersionName() {
1857
- return this._esSdkVersionName;
1858
- }
1859
-
1860
- getESPackageName() {
1861
- return this._esSdkPackageName;
1862
- }
1863
-
1864
- getESVersionCode() {
1865
- return this._esSdkVersionCode;
1866
- }
1867
-
1868
- getESVersionName() {
1869
- return this._esSdkVersionName;
1870
- }
1871
-
1872
- /**
1873
- * 获取EsApp路径, 用于文件存储管理
1874
- * @return
1875
- * /data/data/APK包名/app_rpk/apps/小程序包名/files
1876
- * 示例:/data/data/com.extscreen.runtime/app_rpk/apps/es.com.baduanjin.tv/files
1877
- */
1878
- getESMiniProgramPath() {
1879
- return this._esMiniProgramPath;
1880
- }
1881
-
1882
- /**
1883
- * 获取EsApp路径, 用于文件存储管理
1884
- * @return
1885
- * /data/data/APK包名/app_rpk/apps/小程序包名/files
1886
- * 示例:/data/data/com.extscreen.runtime/app_rpk/apps/es.com.baduanjin.tv/files
1887
- */
1888
- getESAppPath() {
1889
- return this._esMiniProgramPath;
1890
- }
1891
-
1892
- /**
1893
- * 获取EsApp运行时路径, 通常用于获取代码包里的assets
1894
- * @return
1895
- * /data/data/APK包名/app_rpk/apps/小程序包名/版本号/android
1896
- * 示例:/data/data/com.extscreen.runtime/app_rpk/apps/es.com.baduanjin.tv/2.2.2203/android
1897
- */
1898
- getESAppRuntimePath() {
1899
- return this._runtimePath;
1900
- }
1901
-
1902
- getESSDKSupportSchemes() {
1903
- return this._esSdkSchemes;
1904
- }
1905
-
1906
- //----------------------------组件和模块注册相关--------------------------------------------
1907
- isModuleRegistered(className) {
1908
- return ESModule$1.isModuleRegistered(className);
1909
- }
1910
-
1911
- isComponentRegistered(className) {
1912
- return ESModule$1.isComponentRegistered(className);
1913
- }
1914
- }
1915
-
1916
- var ESManager$1 = new ESManager();
1917
-
1918
- const ES_SDK_VERSION_20 = -1;
1919
- const ES_SDK_VERSION_21 = 2.1;
1920
- const ES_SDK_VERSION_22 = 2.2;
1921
- const ES_SDK_VERSION_22_1 = 2.21;
1922
-
1923
1958
  /**
1924
1959
  *
1925
1960
  */
@@ -3237,11 +3272,11 @@ class ESRouterLifecycleManager {
3237
3272
  * @param route
3238
3273
  * @param params
3239
3274
  */
3240
- onESRouterLifecycleNewIntent(route, params) {
3275
+ onESRouterLifecycleNewIntent(route, params, intent) {
3241
3276
  let componentInstance = this.getComponentInstance(route);
3242
3277
  let lifecycleChanged = this.isFunction(componentInstance.onESNewIntent);
3243
3278
  if (componentInstance && lifecycleChanged) {
3244
- componentInstance.onESNewIntent(params);
3279
+ componentInstance.onESNewIntent(params, intent);
3245
3280
  } else {
3246
3281
  if (ESLog.isLoggable(ESLog.DEBUG)) {
3247
3282
  ESLog.d(TAG$4, '#-------onESRouterLifecycleNewIntent-----实例对象为空------>>>>>');
@@ -3322,7 +3357,7 @@ var ESRouter = {
3322
3357
  if (router && router.history && router.history.stack
3323
3358
  && router.history.stack.length > 0) {
3324
3359
  let route = router.currentRoute;
3325
- ESRouterLifecycleManager$1.onESRouterLifecycleNewIntent(route, intent.params);
3360
+ ESRouterLifecycleManager$1.onESRouterLifecycleNewIntent(route, intent.params, intent);
3326
3361
  }
3327
3362
  }
3328
3363
  },
@@ -3403,7 +3438,7 @@ var ESPageLifecycle = {
3403
3438
  onESDestroy() {
3404
3439
 
3405
3440
  },
3406
- onESNewIntent(intent) {
3441
+ onESNewIntent(params, intent) {
3407
3442
 
3408
3443
  },
3409
3444
  onESSaveInstanceState(savedInstanceState) {
@@ -4118,57 +4153,61 @@ var ESUsbDeviceMixin = {
4118
4153
  },
4119
4154
  };
4120
4155
 
4121
- const AUDIO_CONTENT_TYPE_UNKNOWN = 0;
4122
- const AUDIO_CONTENT_TYPE_SPEECH = 1;
4123
- const AUDIO_CONTENT_TYPE_MUSIC = 2;
4124
- const AUDIO_CONTENT_TYPE_MOVIE = 3;
4125
- const AUDIO_CONTENT_TYPE_SONIFICATION = 4;
4126
-
4127
- const AUDIO_STREAM_DEFAULT = -1;
4128
- const AUDIO_STREAM_VOICE_CALL = 0;
4129
- const AUDIO_STREAM_SYSTEM = 1;
4130
- const AUDIO_STREAM_RING = 2;
4131
- const AUDIO_STREAM_MUSIC = 3;
4132
- const AUDIO_STREAM_ALARM = 4;
4133
- const AUDIO_STREAM_NOTIFICATION = 5;
4134
- const AUDIO_STREAM_BLUETOOTH_SCO = 6;
4135
- const AUDIO_STREAM_SYSTEM_ENFORCED = 7;
4136
- const AUDIO_STREAM_DTMF = 8;
4137
- const AUDIO_STREAM_TTS = 9;
4138
- const AUDIO_STREAM_ACCESSIBILITY = 10;
4139
- const AUDIO_STREAM_ASSISTANT = 11;
4140
-
4141
- const AUDIO_MANAGER_FLAG_SHOW_UI = 1 << 0;
4142
- const AUDIO_MANAGER_FLAG_ALLOW_RINGER_MODES = 1 << 1;
4143
- const AUDIO_MANAGER_FLAG_PLAY_SOUND = 1 << 2;
4144
- const AUDIO_MANAGER_FLAG_REMOVE_SOUND_AND_VIBRATE = 1 << 3;
4145
- const AUDIO_MANAGER_FLAG_VIBRATE = 1 << 4;
4146
- const AUDIO_MANAGER_FLAG_FIXED_VOLUME = 1 << 5;
4147
- const AUDIO_MANAGER_FLAG_BLUETOOTH_ABS_VOLUME = 1 << 6;
4148
- const AUDIO_MANAGER_FLAG_SHOW_SILENT_HINT = 1 << 7;
4149
- const AUDIO_MANAGER_FLAG_HDMI_SYSTEM_AUDIO_VOLUME = 1 << 8;
4150
- const AUDIO_MANAGER_FLAG_ACTIVE_MEDIA_ONLY = 1 << 9;
4151
- const AUDIO_MANAGER_FLAG_SHOW_UI_WARNINGS = 1 << 10;
4152
- const AUDIO_MANAGER_FLAG_SHOW_VIBRATE_HINT = 1 << 11;
4153
-
4154
- const AUDIO_USAGE_INVALID = -1;
4155
- const AUDIO_USAGE_UNKNOWN = 0;
4156
- const AUDIO_USAGE_MEDIA = 1;
4157
- const AUDIO_USAGE_VOICE_COMMUNICATION = 2;
4158
- const AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING = 3;
4159
- const AUDIO_USAGE_ALARM = 4;
4160
- const AUDIO_USAGE_NOTIFICATION = 5;
4161
- const AUDIO_USAGE_NOTIFICATION_RINGTONE = 6;
4162
- const AUDIO_USAGE_NOTIFICATION_COMMUNICATION_REQUEST = 7;
4163
- const AUDIO_USAGE_NOTIFICATION_COMMUNICATION_INSTANT = 8;
4164
- const AUDIO_USAGE_NOTIFICATION_COMMUNICATION_DELAYED = 9;
4165
- const AUDIO_USAGE_NOTIFICATION_EVENT = 10;
4166
- const AUDIO_USAGE_ASSISTANCE_ACCESSIBILITY = 11;
4167
- const AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE = 12;
4168
- const AUDIO_USAGE_ASSISTANCE_SONIFICATION = 13;
4169
- const AUDIO_USAGE_GAME = 14;
4170
- const AUDIO_USAGE_VIRTUAL_SOURCE = 15;
4171
- 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;
4172
4211
 
4173
4212
  /**
4174
4213
  * 处理back key事件
@@ -4230,4 +4269,4 @@ const ES_KEYCODE_ESCAPE = 111;
4230
4269
  const ES_KEYCODE_MENU = 82;
4231
4270
  const ES_KEYCODE_SEARCH = 84;
4232
4271
 
4233
- 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.0",
3
+ "version": "3.0.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {