Примеры
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Вы можете изучить устаревшие примеры API библиотеки .
Помните, что API библиотеки обновляется, чтобы сосредоточиться на управлении фотографиями и видео, созданными вашим приложением. Некоторые функции, продемонстрированные в устаревших образцах, могут быть недоступны после вступления изменений в силу 31 марта 2025 г.
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-08-29 UTC.
[null,null,["Последнее обновление: 2025-08-29 UTC."],[[["\u003cp\u003eExplore sample code for the legacy Google Photos Library API.\u003c/p\u003e\n"],["\u003cp\u003eNote that the Library API is undergoing updates, potentially impacting the availability of some functionalities demonstrated in the legacy samples after March 31, 2025.\u003c/p\u003e\n"]]],["The content directs users to legacy Library API samples. It highlights that the Library API is undergoing updates to prioritize managing photos and videos created by the user's app. Certain functionalities shown in the legacy samples may become unavailable after March 31, 2025, due to these changes. Users can still explore the legacy samples for reference, understanding that some features will be deprecated.\n"],null,["# Samples\n\nYou can explore the [legacy Library API samples](/photos/library/legacy/samples).\n\nRemember that the Library API is being updated to focus on managing photos and\nvideos created by your app. Some of the functionalities demonstrated in the\nlegacy samples might not be available after the changes take effect on\nMarch 31, 2025."]]