/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/Libraries/Image/RCTImageLoaderLoggable.h
32 строки
816 B
Dustin Shahidehpour
Fix missing imports in React Native files. (#43118)
21 фев 2024, 02:33
21 фев 2024, 02:33
46f53e9
Код
Авторство
О чём код?
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <Foundation/Foundation.h> /** * The image loader (i.e. RCTImageLoader) implement this to declare whether image performance should be logged. */ @protocol RCTImageLoaderLoggableProtocol <NSObject> /** * Image instrumentation - declares whether its caller should log images */ - (BOOL)shouldEnablePerfLoggingForRequestUrl:(NSURL *)url; @end /** * Image handlers in the image loader implement this to declare whether image performance should be logged. */ @protocol RCTImageLoaderLoggable /** * Image instrumentation - declares whether its caller should log images */ - (BOOL)shouldEnablePerfLogging; @end