1/* 2 * Copyright (c) 2022-2023 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16export class BroadCastConstants { 17 static readonly SELECT: string = 'select'; 18 static readonly GROUP_SELECT: string = 'groupSelect'; 19 static readonly JUMP_PHOTO_BROWSER: string = 'JumpPhotoPage'; 20 static readonly SHOW_DELETE_DIALOG: string = 'showDeleteDialog'; 21 static readonly SHOW_THIRD_DELETE_DIALOG = 'showThirdDeleteDialog'; 22 static readonly SHOW_REMOVE_DIALOG: string = 'showRemoveDialog'; 23 static readonly UPDATE_PROGRESS: string = 'updateProgress'; 24 static readonly CANCEL_DELETE: string = 'cancelDelete'; 25 static readonly JUMP_THIRD_PHOTO_BROWSER: string = 'jumpThirdPhotoPage'; 26 static readonly UPDATE_SELECT: string = 'updateSelect'; 27 static readonly BACK_PRESS_EVENT: string = 'back'; 28 static readonly RESET_STATE_EVENT: string = 'resetState'; 29 static readonly ON_TAB_CHANGED: string = 'onTabChanged'; 30 static readonly PHOTO_BROWSER_ACTIVE: string = 'photoBrowserActive'; 31 static readonly RESET_ZERO: string = 'resetZero'; 32 static readonly SHOW_DETAIL_DIALOG: string = 'showDetailDialog'; 33 static readonly SHOW_MULTI_SELECT_DIALOG: string = 'showMultiSelectDialog'; 34 static readonly UPDATE_DATA_SOURCE: string = 'updateDataSource'; 35 static readonly SHOW_PROGRESS_DIALOG: string = 'showProgressDialog'; 36 static readonly DELETE_PROGRESS_DIALOG: string = 'deleteProgressDialog'; 37 static readonly REMOVE_PROGRESS_DIALOG: string = 'removeProgressDialog'; 38 static readonly CANCEL_OPERATE: string = 'cancelOperate'; 39 static readonly MEDIA_OPERATION: string = 'mediaOperation'; 40 static readonly OPERATE_CONTINUE: string = 'operateContinue'; 41 static readonly OPERATE_PAUSE: string = 'operatePause'; 42 static readonly SHOW_RENAME_PHOTO_DIALOG: string = 'showRenamePhotoDialog'; 43 static readonly SHOW_SAVE_PHOTO_DIALOG: string = 'showSavePhotoDialog'; 44 static readonly SHOW_EDIT_EXIT_PHOTO_DIALOG: string = 'showEditExitPhotoDialog'; 45 static readonly SHOW_ADD_NOTES_PHOTO_DIALOG: string = 'showAddNotesPhotoDialog'; 46 static readonly SHOW_NEW_ALBUM_PHOTO_DIALOG: string = 'showNewAlbumPhotoDialog'; 47 static readonly SHOW_COPY_OR_MOVE_DIALOG: string = 'showCopyOrMoveDialog'; 48 static readonly ON_REMOTE_CHANGED: string = 'on_remote_changed'; 49 static readonly EXIT_SAVE_PROGRESS_CLOSE: string = 'save_progress_close'; 50 static readonly SHOW_EDIT_SAVE_PROGRESS_DIALOG: string = 'show_exit_save_progress_dialog'; 51 static readonly DOWNLOAD_CANCEL_OPERATE: string = 'download_cancel_operate'; 52 static readonly ON_DATA_RELOADED: string = 'on_data_reloaded'; 53 static readonly SAVE_FORM_EDITOR_DATA: string = 'save_form_editor_data'; 54 static readonly INIT_DATE_TEXT: string = 'init_date_text'; 55 static readonly THIRD_ROUTE_PAGE: string = 'third_route_page'; 56 static readonly ON_DATA_RELOADED_WITH_EDIT: string = 'on_data_reloaded_with_edit'; 57 static readonly PHOTO_EDIT_SAVE_URI: string = 'photo_edit_save_uri'; 58 static readonly PHOTO_EDIT_SAVE_COMPLETE: string = 'photo_edit_save_complete'; 59 static readonly CHANGE_SWIPER_DURATION: string = 'change_swiper_duration'; 60 static readonly SEND_COPY_OR_MOVE_BROADCAST: string = 'send_copy_or_move_broadcast'; 61 static readonly SHOW_DATE_CHANGE_DIALOG: string = 'show_date_change_dialog'; 62 static readonly SHOW_TIME_CHANGE_DIALOG: string = 'show_time_change_dialog'; 63 static readonly DO_ANIMATION: string = 'do_animation'; 64 static readonly PHOTO_BROWSER_BACK_PRESS_EVENT: string = 'photo_browser_back'; 65 static readonly SELECT_PHOTO_BROWSER_BACK_PRESS_EVENT: string = 'select_photo_browser_back'; 66}