1 | svoid dm_enableSpeechRecognitionFor(double interval, S reason) { |
2 | final DynModule m = dm_current_mandatory(); |
3 | final AutoCloseable speech = dm_tempEnableSpeechRecognition(reason); |
4 | dm_ownResource(speech); |
5 | doAfter(interval, r { m.enter(); dm_releaseResource(speech); }); |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020635 |
Snippet name: | dm_enableSpeechRecognitionFor |
Eternal ID of this version: | #1020635/2 |
Text MD5: | 638782c12f655b85afcf3f3462fd6455 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-29 00:49:41 |
Source code size: | 283 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 271 / 316 |
Version history: | 1 change(s) |
Referenced in: | [show references] |