public class ReportPresenter extends java.lang.Object implements ReportContract.Presenter
限定符和类型 | 字段和说明 |
---|---|
protected android.os.Handler |
handler |
限定符和类型 | 方法和说明 |
---|---|
void |
addImage(androidx.fragment.app.Fragment fragment) |
void |
addVideo(androidx.fragment.app.Fragment fragment) |
void |
dataReport(int from,
int act,
byte result,
java.lang.String report_uid) |
void |
deleteFile(ReportMediaBean bean) |
java.util.List<com.app.user.dialog.report.ReportModel.ReportReason> |
getReasonLists(boolean isReportRoom) |
java.lang.String |
getString(int resId) |
boolean |
isShouldHideInput(android.view.View v,
android.view.MotionEvent event) |
boolean |
isUploadIng(java.util.List<ReportMediaBean> data) |
void |
onAddClick() |
void |
onBackPressed() |
void |
onDestroy() |
void |
onHandleCover(android.net.Uri uri) |
void |
onHandleVideo(android.net.Uri uri) |
void |
onRequestPermissionsResult(int requestCode,
java.lang.String[] permissions,
int[] grantResults) |
void |
onSubmitFailed() |
void |
onSubmitSuccess() |
void |
postReportAction(com.app.live.activity.VideoDataInfo videoDataInfo,
com.app.user.dialog.report.ReportModel.ReportReason reason) |
void |
reportData(java.lang.String buid,
java.lang.String vid,
java.lang.String mm_id,
int source,
int act) |
void |
requestPermission(android.app.Activity activity,
boolean isVideo) |
void |
retryUpload(ReportMediaBean bean) |
void |
submit(java.util.HashMap<java.lang.String,java.lang.String> mDatas) |
public void addImage(androidx.fragment.app.Fragment fragment)
addImage
在接口中 ReportContract.Presenter
public void onAddClick()
onAddClick
在接口中 ReportContract.Presenter
public void addVideo(androidx.fragment.app.Fragment fragment)
addVideo
在接口中 ReportContract.Presenter
public java.util.List<com.app.user.dialog.report.ReportModel.ReportReason> getReasonLists(boolean isReportRoom)
getReasonLists
在接口中 ReportContract.Presenter
public void submit(java.util.HashMap<java.lang.String,java.lang.String> mDatas)
submit
在接口中 ReportContract.Presenter
public void requestPermission(android.app.Activity activity, boolean isVideo)
requestPermission
在接口中 ReportContract.Presenter
public void onRequestPermissionsResult(int requestCode, @NonNull java.lang.String[] permissions, @NonNull int[] grantResults)
public void onHandleCover(android.net.Uri uri)
onHandleCover
在接口中 ReportContract.Presenter
public void onHandleVideo(android.net.Uri uri)
onHandleVideo
在接口中 ReportContract.Presenter
public void retryUpload(ReportMediaBean bean)
retryUpload
在接口中 ReportContract.Presenter
public void postReportAction(com.app.live.activity.VideoDataInfo videoDataInfo, com.app.user.dialog.report.ReportModel.ReportReason reason)
postReportAction
在接口中 ReportContract.Presenter
videoDataInfo
- reason
- public void onBackPressed()
onBackPressed
在接口中 ReportContract.Presenter
public boolean isShouldHideInput(android.view.View v, android.view.MotionEvent event)
isShouldHideInput
在接口中 ReportContract.Presenter
public boolean isUploadIng(java.util.List<ReportMediaBean> data)
isUploadIng
在接口中 ReportContract.Presenter
public java.lang.String getString(int resId)
getString
在接口中 ReportContract.Presenter
public void deleteFile(ReportMediaBean bean)
deleteFile
在接口中 ReportContract.Presenter
public void dataReport(int from, int act, byte result, java.lang.String report_uid)
dataReport
在接口中 ReportContract.Presenter
from
- act
- 1.展示 2.提交 3.文件开始上传 4.文件上传成功result
- 1.失败 2.成功report_uid
- public void onSubmitSuccess()
onSubmitSuccess
在接口中 ReportContract.Presenter
public void onSubmitFailed()
onSubmitFailed
在接口中 ReportContract.Presenter
public void onDestroy()
onDestroy
在接口中 ReportContract.Presenter
public void reportData(java.lang.String buid, java.lang.String vid, java.lang.String mm_id, int source, int act)
reportData
在接口中 ReportContract.Presenter