/* * Copyright (c) 2022-2023 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ export class BroadCastConstants { static readonly SELECT: string = 'select'; static readonly GROUP_SELECT: string = 'groupSelect'; static readonly JUMP_PHOTO_BROWSER: string = 'JumpPhotoPage'; static readonly SHOW_DELETE_DIALOG: string = 'showDeleteDialog'; static readonly SHOW_THIRD_DELETE_DIALOG = 'showThirdDeleteDialog'; static readonly SHOW_REMOVE_DIALOG: string = 'showRemoveDialog'; static readonly UPDATE_PROGRESS: string = 'updateProgress'; static readonly CANCEL_DELETE: string = 'cancelDelete'; static readonly JUMP_THIRD_PHOTO_BROWSER: string = 'jumpThirdPhotoPage'; static readonly UPDATE_SELECT: string = 'updateSelect'; static readonly BACK_PRESS_EVENT: string = 'back'; static readonly RESET_STATE_EVENT: string = 'resetState'; static readonly ON_TAB_CHANGED: string = 'onTabChanged'; static readonly PHOTO_BROWSER_ACTIVE: string = 'photoBrowserActive'; static readonly RESET_ZERO: string = 'resetZero'; static readonly SHOW_DETAIL_DIALOG: string = 'showDetailDialog'; static readonly SHOW_MULTI_SELECT_DIALOG: string = 'showMultiSelectDialog'; static readonly UPDATE_DATA_SOURCE: string = 'updateDataSource'; static readonly SHOW_PROGRESS_DIALOG: string = 'showProgressDialog'; static readonly DELETE_PROGRESS_DIALOG: string = 'deleteProgressDialog'; static readonly REMOVE_PROGRESS_DIALOG: string = 'removeProgressDialog'; static readonly CANCEL_OPERATE: string = 'cancelOperate'; static readonly MEDIA_OPERATION: string = 'mediaOperation'; static readonly OPERATE_CONTINUE: string = 'operateContinue'; static readonly OPERATE_PAUSE: string = 'operatePause'; static readonly SHOW_RENAME_PHOTO_DIALOG: string = 'showRenamePhotoDialog'; static readonly SHOW_SAVE_PHOTO_DIALOG: string = 'showSavePhotoDialog'; static readonly SHOW_EDIT_EXIT_PHOTO_DIALOG: string = 'showEditExitPhotoDialog'; static readonly SHOW_ADD_NOTES_PHOTO_DIALOG: string = 'showAddNotesPhotoDialog'; static readonly SHOW_NEW_ALBUM_PHOTO_DIALOG: string = 'showNewAlbumPhotoDialog'; static readonly SHOW_COPY_OR_MOVE_DIALOG: string = 'showCopyOrMoveDialog'; static readonly ON_REMOTE_CHANGED: string = 'on_remote_changed'; static readonly EXIT_SAVE_PROGRESS_CLOSE: string = 'save_progress_close'; static readonly SHOW_EDIT_SAVE_PROGRESS_DIALOG: string = 'show_exit_save_progress_dialog'; static readonly DOWNLOAD_CANCEL_OPERATE: string = 'download_cancel_operate'; static readonly ON_DATA_RELOADED: string = 'on_data_reloaded'; static readonly SAVE_FORM_EDITOR_DATA: string = 'save_form_editor_data'; static readonly INIT_DATE_TEXT: string = 'init_date_text'; static readonly THIRD_ROUTE_PAGE: string = 'third_route_page'; static readonly ON_DATA_RELOADED_WITH_EDIT: string = 'on_data_reloaded_with_edit'; static readonly PHOTO_EDIT_SAVE_URI: string = 'photo_edit_save_uri'; static readonly PHOTO_EDIT_SAVE_COMPLETE: string = 'photo_edit_save_complete'; static readonly CHANGE_SWIPER_DURATION: string = 'change_swiper_duration'; static readonly SEND_COPY_OR_MOVE_BROADCAST: string = 'send_copy_or_move_broadcast'; static readonly SHOW_DATE_CHANGE_DIALOG: string = 'show_date_change_dialog'; static readonly SHOW_TIME_CHANGE_DIALOG: string = 'show_time_change_dialog'; static readonly DO_ANIMATION: string = 'do_animation'; static readonly PHOTO_BROWSER_BACK_PRESS_EVENT: string = 'photo_browser_back'; static readonly SELECT_PHOTO_BROWSER_BACK_PRESS_EVENT: string = 'select_photo_browser_back'; static readonly THIRD_PICKER_SWITCH_SMART_RECOMMEND_TAB: string = 'third_select_switch_smart_recommend_tab'; static readonly PICKER_INIT_DATA_FIRST_QUERY_FINISH: string = 'picker_init_data_first_query_finish'; static readonly UPDATE_PANEL_INDEX: string = 'updatePanelIndex'; static readonly PICKER_PAGE_DISAPPEAR: string = 'picker_page_disappear'; static readonly UPDATE_EDIT_ITEM: string = 'updateEditItem'; }