1 // Copyright (c) 2013 Intel Corporation. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 package org.xwalk.core.internal.extension.api.device_capabilities;
7 import org.json.JSONObject;
8 import org.xwalk.core.internal.extension.XWalkExtensionContext;
10 class DeviceCapabilitiesCodecs {
11 private XWalkMediaCodec mediaCodec;
13 public DeviceCapabilitiesCodecs(DeviceCapabilities instance,
14 XWalkExtensionContext context) {
15 mediaCodec = XWalkMediaCodec.Create(instance);
18 public JSONObject getInfo() {
19 return mediaCodec.getCodecsInfo();