ตัวอย่าง
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
คุณสามารถดูตัวอย่าง Library API รุ่นเดิม
โปรดทราบว่า Library API กำลังได้รับการอัปเดตเพื่อมุ่งเน้นที่การจัดการรูปภาพและวิดีโอที่สร้างโดยแอปของคุณ ฟังก์ชันบางอย่างที่แสดงในตัวอย่างเดิมอาจไม่พร้อมใช้งานหลังจากที่การเปลี่ยนแปลงมีผลในวันที่ 31 มีนาคม 2025
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers 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."]]