package push.ios; import java.io.BufferedReader; import java.io.InputStreamReader; import org.apache.commons.codec.digest.DigestUtils; import org.apache.http.HttpResponse; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.StringEntity; import org.json.JSONObject; import push.IOSNotification; public class IOSFilecast extends IOSNotification { public IOSFilecast(String appkey,String appMasterSecret) throws Exception { setAppMasterSecret(appMasterSecret); setPredefinedKeyValue("appkey", appkey); this.setPredefinedKeyValue("type", "filecast"); } public void setFileId(String fileId) throws Exception { setPredefinedKeyValue("file_id", fileId); } }