تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
AdPodInfo
classpublic
فئة تمثّل عنصر معلومات مجموعة إعلانية أثناء إدراج الإعلانات الديناميكية
الطُرق
getAdPosition
تُعرِض دالة getAdPosition() رقمًا.
المرتجعات
number
getMaxDuration
تعرض الدالة getMaxDuration() رقمًا.
المرتجعات
number
getPodIndex
تُعرِض دالة getPodIndex() رقمًا.
لعرض فهرس مجموعة الإعلانات.
الفيديو عند الطلب المستند إلى تكنولوجيا الذكاء الاصطناعي: بالنسبة إلى مجموعة إعلانات ما قبل التشغيل، يتم عرض القيمة 0. بالنسبة إلى الإعلانات أثناء التشغيل، يتم عرض الأرقام 1 و2 و... وN.
بالنسبة إلى مجموعة إعلانات ما بعد التشغيل، يتم عرض القيمة -1. يتم ضبط القيمة تلقائيًا على 0 إذا لم يكن هذا الإعلان جزءًا من مجموعة إعلانات متسلسلة
أو إذا لم تكن مجموعة الإعلانات المتسلسلة هذه جزءًا من قائمة تشغيل.
البث المباشر المستند إلى الإعلانات أثناء التشغيل: بالنسبة إلى مجموعة إعلانات ما قبل التشغيل، يتم عرض القيمة 0. بالنسبة إلى الفواصل الإعلانية أثناء التشغيل، يتم عرض
رقم تعريف الفاصل. يتم عرض القيمة -2 إذا تعذّر تحديد فهرس الحزمة (خطأ داخلي).
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["`AdPodInfo` provides details about ad pods during dynamic ad insertion, including position, maximum duration, and total ads."],["The `getPodIndex()` method returns the index of the ad pod, varying for pre-roll, mid-roll, and post-roll placements in VOD and live streams."],["Other methods within the `AdPodInfo` class allow access to the ad position within the pod, the maximum allowed duration for ads, and the time offset for ad insertion."]]],["The `AdPodInfo` class provides information about ad pods in dynamic ad insertion. Key actions include retrieving: the ad's position within the pod (`getAdPosition`), the maximum duration of the pod (`getMaxDuration`), and the ad pod's index (`getPodIndex`). `getPodIndex` returns different values for VOD and live streams, indicating preroll, midroll, and postroll status. Additionally, the class allows access to the time offset (`getTimeOffset`) and the total number of ads in the pod (`getTotalAds`).\n"]]