【问题标题】:Android Management API IssueCommand not workingAndroid 管理 API 问题命令不起作用
【发布时间】:2020-05-02 18:26:33
【问题描述】:

当我在 Android Management API 中发出 LOCK 或 REBOOT 命令时,设备上都不会执行:

Command command = new Command();
command.Type = "LOCK";
var operation = svc.Enterprises.Devices.IssueCommand(command, "enterprises/LCxxxxxxxx/devices/3ded38daabec2df8").Execute();

//svc is equal to authenticated  Google.Apis.AndroidManagement.v1.AndroidManagementService;

回复:

Operation.Metadata
Count = 5
    [0]: {[@type, type.googleapis.com/google.android.devicemanagement.v1.Command]}
    [1]: {[type, LOCK]}
    [2]: {[createTime, 2020-01-15 9:59:15 PM]}
    [3]: {[duration, 600s]}
    [4]: {[userName, enterprises/LCxxxxxx/users/10763xxxxxxxxxxx]}

在此处关注:https://developers.google.com/android/management/reference/rest/v1/enterprises.devices/issueCommand#commandtype

已成功将策略推送到设备,并且可以检索数据并取消配置它。

谢谢

【问题讨论】:

  • 嗯,好的,今天我进来了,现在两个都在工作....不确定该 API 是否已准备好迎接黄金时段。似乎有很多问题。注意:我也看到了设备的双重重启。

标签: android .net android-management-api


【解决方案1】:

issueCommand 问题已经修复。

【讨论】:

    猜你喜欢
    • 2013-12-30
    • 2023-04-05
    • 1970-01-01
    • 1970-01-01
    • 2022-10-13
    • 2021-07-13
    • 1970-01-01
    • 2021-11-14
    • 2014-06-22
    相关资源
    最近更新 更多