public static MediaFile get ( final BandwidthClient client , final String id ) throws Exception { final String mediaUri = client . getUserResourceInstanceUri ( BandwidthConstants . MEDIA_URI_PATH , id ) ; final JSONObject jsonObject = toJSONObject ( client . get ( mediaUri , null ) ) ; return new MediaFile ( client , jsonObject ) ; }
Gets information about a previously sent or received MediaFile .