Android Open Source - wit-android-sdk Wit Response






From Project

Back to project page wit-android-sdk.

License

The source code is released under:

/** * Copyright (c) 2014, Wit.ai, Inc. All rights reserved. * * You are hereby granted a non-exclusive, worldwide, royalty-free license to * use, copy, modify, and distribute this software in source c...

If you think the Android project wit-android-sdk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package ai.wit.sdk.model;
//from   www .  j  av  a2  s . c o m
import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Class that represent the Wit response from the server.
 * It uses Gson annotation for the deserialization
 * Created by Wit on 5/30/13.
 */
public class WitResponse implements Serializable {

    @SerializedName("msg_id")
    private String _msgId;

    @SerializedName("outcomes")
    private ArrayList<WitOutcome> _outcomes;


    public String getMsgId() {
        return _msgId;
    }

    public ArrayList<WitOutcome> getOutcomes() {
        return _outcomes;
    }
}




Java Source Code List

ai.wit.sdk.IWitCoordinator.java
ai.wit.sdk.IWitListener.java
ai.wit.sdk.WitContextSetter.java
ai.wit.sdk.WitMessageRequestTask.java
ai.wit.sdk.WitMic.java
ai.wit.sdk.WitRequest.java
ai.wit.sdk.WitSpeechRequestTask.java
ai.wit.sdk.WitTest.java
ai.wit.sdk.Wit.java
ai.wit.sdk.model.WitOutcome.java
ai.wit.sdk.model.WitResponse.java