@@ -25,7 +25,17 @@ const SUMERIAN_DEPRECATION_MESSAGE =
25
25
26
26
const logger = new Logger ( 'SumerianProvider' ) ;
27
27
28
+ /**
29
+ * @deprecated The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be
30
+ * available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function
31
+ * and as a result, will no longer be available.
32
+ */
28
33
export class SumerianProvider extends AbstractXRProvider {
34
+ /**
35
+ * @deprecated The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be
36
+ * available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function
37
+ * and as a result, will no longer be available.
38
+ */
29
39
constructor ( options : ProviderOptions = { } ) {
30
40
super ( options ) ;
31
41
}
@@ -51,6 +61,11 @@ export class SumerianProvider extends AbstractXRProvider {
51
61
} ) ;
52
62
}
53
63
64
+ /**
65
+ * @deprecated The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be
66
+ * available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function
67
+ * and as a result, will no longer be available.
68
+ */
54
69
public async loadScene (
55
70
sceneName : string ,
56
71
domElementId : string ,
@@ -216,6 +231,11 @@ export class SumerianProvider extends AbstractXRProvider {
216
231
}
217
232
}
218
233
234
+ /**
235
+ * @deprecated The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be
236
+ * available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function
237
+ * and as a result, will no longer be available.
238
+ */
219
239
public isSceneLoaded ( sceneName : string ) {
220
240
const scene = this . getScene ( sceneName ) ;
221
241
return scene . isLoaded || false ;
@@ -243,6 +263,11 @@ export class SumerianProvider extends AbstractXRProvider {
243
263
return this . options . scenes [ sceneName ] ;
244
264
}
245
265
266
+ /**
267
+ * @deprecated The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be
268
+ * available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function
269
+ * and as a result, will no longer be available.
270
+ */
246
271
public getSceneController ( sceneName : string ) {
247
272
if ( ! this . options . scenes ) {
248
273
const errorMsg = 'No scenes were defined in the configuration' ;
@@ -267,41 +292,81 @@ export class SumerianProvider extends AbstractXRProvider {
267
292
return sceneController ;
268
293
}
269
294
295
+ /**
296
+ * @deprecated The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be
297
+ * available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function
298
+ * and as a result, will no longer be available.
299
+ */
270
300
public isVRCapable ( sceneName : string ) : boolean {
271
301
const sceneController = this . getSceneController ( sceneName ) ;
272
302
return sceneController . vrCapable ;
273
303
}
274
304
305
+ /**
306
+ * @deprecated The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be
307
+ * available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function
308
+ * and as a result, will no longer be available.
309
+ */
275
310
public isVRPresentationActive ( sceneName : string ) : boolean {
276
311
const sceneController = this . getSceneController ( sceneName ) ;
277
312
return sceneController . vrPresentationActive ;
278
313
}
279
314
315
+ /**
316
+ * @deprecated The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be
317
+ * available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function
318
+ * and as a result, will no longer be available.
319
+ */
280
320
public start ( sceneName : string ) {
281
321
const sceneController = this . getSceneController ( sceneName ) ;
282
322
sceneController . start ( ) ;
283
323
}
284
324
325
+ /**
326
+ * @deprecated The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be
327
+ * available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function
328
+ * and as a result, will no longer be available.
329
+ */
285
330
public enterVR ( sceneName : string ) {
286
331
const sceneController = this . getSceneController ( sceneName ) ;
287
332
sceneController . enterVR ( ) ;
288
333
}
289
334
335
+ /**
336
+ * @deprecated The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be
337
+ * available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function
338
+ * and as a result, will no longer be available.
339
+ */
290
340
public exitVR ( sceneName : string ) {
291
341
const sceneController = this . getSceneController ( sceneName ) ;
292
342
sceneController . exitVR ( ) ;
293
343
}
294
344
345
+ /**
346
+ * @deprecated The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be
347
+ * available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function
348
+ * and as a result, will no longer be available.
349
+ */
295
350
public isMuted ( sceneName : string ) : boolean {
296
351
const sceneController = this . getSceneController ( sceneName ) ;
297
352
return sceneController . muted ;
298
353
}
299
354
355
+ /**
356
+ * @deprecated The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be
357
+ * available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function
358
+ * and as a result, will no longer be available.
359
+ */
300
360
public setMuted ( sceneName : string , muted : boolean ) {
301
361
const sceneController = this . getSceneController ( sceneName ) ;
302
362
sceneController . muted = muted ;
303
363
}
304
364
365
+ /**
366
+ * @deprecated The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be
367
+ * available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function
368
+ * and as a result, will no longer be available.
369
+ */
305
370
public onSceneEvent (
306
371
sceneName : string ,
307
372
eventName : string ,
@@ -311,6 +376,11 @@ export class SumerianProvider extends AbstractXRProvider {
311
376
sceneController . on ( eventName , eventHandler ) ;
312
377
}
313
378
379
+ /**
380
+ * @deprecated The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be
381
+ * available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function
382
+ * and as a result, will no longer be available.
383
+ */
314
384
public enableAudio ( sceneName : string ) {
315
385
const sceneController = this . getSceneController ( sceneName ) ;
316
386
sceneController . enableAudio ( ) ;
0 commit comments