Upstream version 9.38.204.0
[platform/framework/web/crosswalk.git] / src / xwalk / runtime / android / core_internal / src / org / xwalk / core / internal / extension / api / device_capabilities / DeviceCapabilitiesCodecs.java
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.
4
5 package org.xwalk.core.internal.extension.api.device_capabilities;
6
7 import org.json.JSONObject;
8
9 class DeviceCapabilitiesCodecs {
10     private XWalkMediaCodec mediaCodec;
11
12     public DeviceCapabilitiesCodecs(DeviceCapabilities instance) {
13         mediaCodec = XWalkMediaCodec.Create(instance);
14     }
15
16     public JSONObject getInfo() {
17         return mediaCodec.getCodecsInfo();
18     }
19 }