File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,6 @@ export class NativeAudioWeb extends WebPlugin implements NativeAudio {
1010 private static readonly FILE_LOCATION : string = 'assets/sounds' ;
1111 private static readonly AUDIO_ASSET_BY_ASSET_ID : Map < string , AudioAsset > = new Map < string , AudioAsset > ( ) ;
1212
13- constructor ( ) {
14- super ( {
15- name : 'NativeAudio' ,
16- platforms : [ 'web' ] ,
17- } ) ;
18- }
19-
2013 async resume ( options : { assetId : string ; } ) : Promise < void > {
2114 const audio : HTMLAudioElement = this . getAudioAsset ( options . assetId ) . audio ;
2215 if ( audio . paused ) {
@@ -132,7 +125,3 @@ export class NativeAudioWeb extends WebPlugin implements NativeAudio {
132125 }
133126}
134127
135- const NativeAudio = new NativeAudioWeb ( ) ;
136-
137- export { NativeAudio } ;
138-
You can’t perform that action at this time.
0 commit comments