void function ( @ Named ( "srini_string" ) final String arg0 , final User arg1 ) { EndpointUtil . throwIfNotAuthenticated ( arg1 ) ; if ( findRecord ( arg0 ) != null ) { LOG . info ( "srini_string" + arg0 + "srini_string" ) ; return ; } Registration loc0 = new Registration ( ) ; loc0 . setRegId ( arg0 ) ; ofy ( ) . save ( ) . entity ( loc0 ) . now ( ) ; }
registers a device to the backend . concode_field_sep Logger LOG concode_field_sep void unregisterDevice concode_elem_sep Registration findRecord concode_elem_sep CollectionResponse<Registration> listDevices