Condividi tramite


VoiceInteractor.CommandRequest Classe

Definizione

Eseguire un comando specifico del fornitore usando voiceInteractionService di sistema attendibile.

[Android.Runtime.Register("android/app/VoiceInteractor$CommandRequest", ApiSince=23, DoNotGenerateAcw=true)]
public class VoiceInteractor.CommandRequest : Android.App.VoiceInteractor.Request
[<Android.Runtime.Register("android/app/VoiceInteractor$CommandRequest", ApiSince=23, DoNotGenerateAcw=true)>]
type VoiceInteractor.CommandRequest = class
    inherit VoiceInteractor.Request
Ereditarietà
VoiceInteractor.CommandRequest
Attributi

Commenti

Eseguire un comando specifico del fornitore usando voiceInteractionService di sistema attendibile. Ciò consente a un'attività di richiedere informazioni aggiuntive all'utente necessario per completare un'azione ( ad esempio, la prenotazione di una tabella potrebbe avere più volte possibile che l'utente possa selezionare o un'app potrebbe richiedere all'utente di accettare le condizioni per il servizio). Il risultato della conferma verrà restituito tramite una chiamata asincrona a #onCommandResult(boolean, android.os.Bundle) o #onCancel().

Il comando è una stringa che descrive l'operazione generica da eseguire. Il comando determinerà come vengono interpretate le proprietà in extra e il set di comandi disponibili crescerà nel tempo. Un esempio potrebbe essere "com.google.voice.commands.REQUEST_NUMBER_BAGS" per richiedere il numero di borse come parte del check-in delle compagnie aeree. Questo non è un esempio funzionante effettivo.

Documentazione java per android.app.VoiceInteractor.CommandRequest.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Costruttori

VoiceInteractor.CommandRequest(IntPtr, JniHandleOwnership)

Eseguire un comando specifico del fornitore usando voiceInteractionService di sistema attendibile.

VoiceInteractor.CommandRequest(String, Bundle)

Creare una nuova richiesta di comando generica.

Proprietà

Activity

Restituisce la richiesta corrente Activity associata.

(Ereditato da VoiceInteractor.Request)
Class

Restituisce la classe di runtime di questo Objectoggetto .

(Ereditato da Object)
Context

Restituisce la richiesta corrente Context associata.

(Ereditato da VoiceInteractor.Request)
Handle

Handle per l'istanza di Android sottostante.

(Ereditato da Object)
JniIdentityHashCode

Eseguire un comando specifico del fornitore usando voiceInteractionService di sistema attendibile.

(Ereditato da Object)
JniPeerMembers

Eseguire un comando specifico del fornitore usando voiceInteractionService di sistema attendibile.

Name

Restituire il nome inviato da questa richiesta tramite #submitRequest(android.app.VoiceInteractor.Request, String).

(Ereditato da VoiceInteractor.Request)
PeerReference

Eseguire un comando specifico del fornitore usando voiceInteractionService di sistema attendibile.

(Ereditato da Object)
ThresholdClass

Eseguire un comando specifico del fornitore usando voiceInteractionService di sistema attendibile.

ThresholdType

Eseguire un comando specifico del fornitore usando voiceInteractionService di sistema attendibile.

Metodi

Cancel()

Annullare questa richiesta attiva.

(Ereditato da VoiceInteractor.Request)
Clone()

Crea e restituisce una copia di questo oggetto.

(Ereditato da Object)
Dispose()

Eseguire un comando specifico del fornitore usando voiceInteractionService di sistema attendibile.

(Ereditato da Object)
Dispose(Boolean)

Eseguire un comando specifico del fornitore usando voiceInteractionService di sistema attendibile.

(Ereditato da Object)
Equals(Object)

Indica se un altro oggetto è "uguale a" questo.

(Ereditato da Object)
GetHashCode()

Restituisce un valore del codice hash per l'oggetto.

(Ereditato da Object)
JavaFinalize()

Chiamato dal Garbage Collector su un oggetto quando Garbage Collection determina che non sono presenti altri riferimenti all'oggetto .

(Ereditato da Object)
Notify()

Riattiva un singolo thread in attesa del monitor dell'oggetto.

(Ereditato da Object)
NotifyAll()

Riattiva tutti i thread in attesa del monitor dell'oggetto.

(Ereditato da Object)
OnAttached(Activity)

La richiesta è ora collegata a un'attività o viene ricollegata a una nuova attività dopo una modifica della configurazione.

(Ereditato da VoiceInteractor.Request)
OnCancel()

Report dal servizio di interazione vocale: questa operazione è stata annullata, in genere come completamento di una chiamata precedente a #cancel o quando l'utente ha annullato in modo esplicito.

(Ereditato da VoiceInteractor.Request)
OnCommandResult(Boolean, Bundle)

I risultati per CommandRequest possono essere restituiti in blocchi parziali.

OnDetached()

La richiesta viene scollegata da un'attività.

(Ereditato da VoiceInteractor.Request)
SetHandle(IntPtr, JniHandleOwnership)

Imposta la proprietà Handle.

(Ereditato da Object)
ToArray<T>()

Eseguire un comando specifico del fornitore usando voiceInteractionService di sistema attendibile.

(Ereditato da Object)
ToString()

Restituisce una rappresentazione di stringa dell'oggetto.

(Ereditato da Object)
UnregisterFromRuntime()

Eseguire un comando specifico del fornitore usando voiceInteractionService di sistema attendibile.

(Ereditato da Object)
Wait()

Fa sì che il thread corrente attenda finché non viene risvegliato, in genere ricevendo <>una notifica</em> o <em>interrotto</em>.

(Ereditato da Object)
Wait(Int64, Int32)

Fa sì che il thread corrente attenda finché non viene risvegliato, in genere ricevendo>< una notifica</em> o <em>interrotto</em> o fino a quando non è trascorsa una determinata quantità di tempo reale.

(Ereditato da Object)
Wait(Int64)

Fa sì che il thread corrente attenda finché non viene risvegliato, in genere ricevendo>< una notifica</em> o <em>interrotto</em> o fino a quando non è trascorsa una determinata quantità di tempo reale.

(Ereditato da Object)

Implementazioni dell'interfaccia esplicita

IJavaPeerable.Disposed()

Eseguire un comando specifico del fornitore usando voiceInteractionService di sistema attendibile.

(Ereditato da Object)
IJavaPeerable.DisposeUnlessReferenced()

Eseguire un comando specifico del fornitore usando voiceInteractionService di sistema attendibile.

(Ereditato da Object)
IJavaPeerable.Finalized()

Eseguire un comando specifico del fornitore usando voiceInteractionService di sistema attendibile.

(Ereditato da Object)
IJavaPeerable.JniManagedPeerState

Eseguire un comando specifico del fornitore usando voiceInteractionService di sistema attendibile.

(Ereditato da Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)

Eseguire un comando specifico del fornitore usando voiceInteractionService di sistema attendibile.

(Ereditato da Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

Eseguire un comando specifico del fornitore usando voiceInteractionService di sistema attendibile.

(Ereditato da Object)
IJavaPeerable.SetPeerReference(JniObjectReference)

Eseguire un comando specifico del fornitore usando voiceInteractionService di sistema attendibile.

(Ereditato da Object)

Metodi di estensione

JavaCast<TResult>(IJavaObject)

Esegue una conversione del tipo di tipo controllato dal runtime Android.

JavaCast<TResult>(IJavaObject)

Eseguire un comando specifico del fornitore usando voiceInteractionService di sistema attendibile.

GetJniTypeName(IJavaPeerable)

Eseguire un comando specifico del fornitore usando voiceInteractionService di sistema attendibile.

Si applica a