class Api::Injection
- Api::Injection
- Reference
- Object
Overview
The Injection facade, used to programatically and dynamically inject new data into the voice recognition model.
Included Modules
Defined in:
api/injection.crInstance Method Summary
-
#publish_injection_request(message)
Publish a request to inject data.
-
#publish_injection_reset_request(message)
Publish a message to reset the previously injected data.
-
#publish_injection_status_request
Publish a message a request a status update for a pending injection.
-
#subscribe_injection_complete(*extra_args, once = false, &callback : InjectionCompleteMessage -> Void)
Subscribe to injection_complete events.
-
#subscribe_injection_reset_complete(*extra_args, once = false, &callback : InjectionResetCompleteMessage -> Void)
Subscribe to injection_reset_complete events.
-
#subscribe_injection_status(*extra_args, once = false, &callback : InjectionStatusMessage -> Void)
Subscribe to injection_status events.
-
#unsubscribe_injection_complete(callback_ref, *extra_args)
Unsubscribe to injection_complete events.
-
#unsubscribe_injection_reset_complete(callback_ref, *extra_args)
Unsubscribe to injection_reset_complete events.
-
#unsubscribe_injection_status(callback_ref, *extra_args)
Unsubscribe to injection_status events.
Instance methods inherited from module Bindings
call!(result)call!(&block) call!
Instance Method Detail
Publish a message to reset the previously injected data.
Publish a message a request a status update for a pending injection.
Subscribe to injection_complete events.
Subscribe to injection_reset_complete events.
Subscribe to injection_status events.
Unsubscribe to injection_complete events.
Unsubscribe to injection_reset_complete events.
Unsubscribe to injection_status events.