نمونه ها
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
میتوانید نمونههای قدیمی کتابخانه API را کاوش کنید.
به یاد داشته باشید که کتابخانه API برای تمرکز بر مدیریت عکسها و ویدیوهای ایجاد شده توسط برنامه شما بهروزرسانی میشود. برخی از عملکردهای نشان داده شده در نمونه های قدیمی ممکن است پس از اعمال تغییرات در 31 مارس 2025 در دسترس نباشند.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی."],[[["\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."]]