public class TuAlbumMultipleComponent extends TuAlbumMultipleComponentBase implements TuAlbumMultipleListFragment.TuAlbumMultipleListFragmentDelegate, TuCameraFragment.TuCameraFragmentDelegate
TuSdkComponent.TuSdkComponentDelegate
构造器和说明 |
---|
TuAlbumMultipleComponent(android.app.Activity activity) |
activity, alert, alert, getDelegate, getResString, getResString, isAutoDismissWhenCompleted, onComponentError, presentActivity, presentModalNavigationActivity, presentModalNavigationActivity, presentModalNavigationActivity, pushModalNavigationActivity, pushModalNavigationActivity, setAutoDismissWhenCompleted, setDelegate, showAlertIfCannotSaveFile
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onComponentError
public TuAlbumMultipleComponentOption componentOption()
public void setComponentOption(TuAlbumMultipleComponentOption mComponentOption)
mComponentOption
- public static TuAlbumMultipleComponent component(android.app.Activity activity, TuSdkComponent.TuSdkComponentDelegate delegate)
activity
- 内容上下文delegate
- 组件委托protected void initComponent()
TuSdkComponent
initComponent
在类中 TuSdkComponent
public TuAlbumMultipleComponent showComponent()
TuSdkComponent
showComponent
在类中 TuSdkComponent
protected void handleShowAlbum()
public void onTuAlbumFragmentSelected(TuAlbumMultipleListFragment fragment, AlbumSqlInfo group)
onTuAlbumFragmentSelected
在接口中 TuAlbumMultipleListFragment.TuAlbumMultipleListFragmentDelegate
fragment
- 系统相册控制器group
- 相册组public void onTuPhotoFragmentSelected(TuAlbumMultipleListFragment fragment, java.util.ArrayList<ImageSqlInfo> images)
onTuPhotoFragmentSelected
在接口中 TuAlbumMultipleListFragment.TuAlbumMultipleListFragmentDelegate
fragment
- 系统相册控制器images
- 选中的相片列表public void onTuCameraDemand(TuAlbumMultipleListFragment fragment)
onTuCameraDemand
在接口中 TuAlbumMultipleListFragment.TuAlbumMultipleListFragmentDelegate
fragment
- 系统相册控制器protected void handleShowCamera(TuAlbumMultipleListFragment lastFragment)
protected void notifyResult(TuSdkResult result, java.lang.Error error, TuFragment lastFragment)
notifyResult
在类中 TuSdkComponent
result
- 返回结果error
- 异常信息lastFragment
- 最后显示的控制器public void onTuCameraFragmentCaptured(TuCameraFragment fragment, TuSdkResult result)
onTuCameraFragmentCaptured
在接口中 TuCameraFragment.TuCameraFragmentDelegate
fragment
- 默认相机视图控制器result
- 拍摄结果public boolean onTuCameraFragmentCapturedAsync(TuCameraFragment fragment, TuSdkResult result)
onTuCameraFragmentCapturedAsync
在接口中 TuCameraFragment.TuCameraFragmentDelegate
fragment
- 默认相机视图控制器result
- 拍摄结果public void onTuAlbumDemand(TuCameraFragment fragment)
onTuAlbumDemand
在接口中 TuCameraFragment.TuCameraFragmentDelegate
fragment
- 系统相册控制器