{"size": 1558, "ext": "js", "max_stars_repo_path": "model/dvb/model-miracast.js", "max_stars_repo_name": "tonymiao2012/qunit_autotest", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "model/dvb/model-miracast.js", "max_issues_repo_name": "tonymiao2012/qunit_autotest", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "model/dvb/model-miracast.js", "max_forks_repo_name": "tonymiao2012/qunit_autotest", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 45.8235294118, "max_line_length": 153, "alphanum_fraction": 0.7118100128}
function MiracastModelDefines() {
}
{
    MiracastModelDefines.SL2_TVAPI_ACTION_MIRACAST_START    = "de.loewe.sl2.action.miracast.start";
    MiracastModelDefines.SL2_TVAPI_ACTION_MIRACAST_STOP     = "de.loewe.sl2.action.miracast.stop";
    MiracastModelDefines.SL2_TVAPI_I32_MIRACAST_STATUS      = "de.loewe.sl2.i32.miracast.status";
    MiracastModelDefines.SL2_TVAPI_STR_MIRACAST_PHONENAME   = "de.loewe.sl2.str.miracast.phonename";
    MiracastModelDefines.MIRACAST_LOCAL_NAME_LEN = 30
}
function MiracastModel(t) {
    SubModel.call(this, t, MiracastModelDefines);
    this.registerSubObject = function () {
        this.registerActionObject(MiracastModelDefines.SL2_TVAPI_ACTION_MIRACAST_START, [{
            name: "ActionStartApp",
            method: function (t) {
                return t.invoke()
            }
        }], "null");
        this.registerActionObject(MiracastModelDefines.SL2_TVAPI_ACTION_MIRACAST_STOP, [{
            name: "ActionStopApp",
            method: function (t, e) {
                return t.invoke(e)
            }
        }], "null");
        this.registerIntegerObject(MiracastModelDefines.SL2_TVAPI_I32_MIRACAST_STATUS, "getStatus", "setStatus", "onStatusChaged", null, null);
        this.registerStringObject(MiracastModelDefines.SL2_TVAPI_STR_MIRACAST_PHONENAME, "getPhonename", "setPhonename", "onPhonenameChaged", null, null)
    }

}
MiracastModel.prototype = new SubModel;
MiracastModel.prototype.constructor = MiracastModel;
{
    SubModel.registerStaticConstants(MiracastModel, MiracastModelDefines, [])
}