private void setData ( String objectKey , Recorder recorder ) { if ( recorder == null ) return ; String upload = new Gson ( ) . toJson ( uploadModel ) ; recorder . set ( objectKey , upload . getBytes ( ) ) ; }
Set data in the upload with a recorder .