Batasan yang harus dipenuhi agar modul ditampilkan.
sortIndex
integer
Indeks untuk mengurutkan modul. Modul dengan indeks pengurutan yang lebih rendah ditampilkan sebelum modul dengan indeks pengurutan yang lebih tinggi. Jika tidak ditentukan, indeks pengurutan diasumsikan sebagai INT_MAX. Untuk dua modul dengan indeks yang sama, perilaku pengurutan tidak ditentukan.
ModuleViewConstraints
Batasan yang harus dipenuhi agar modul ditampilkan.
Periode waktu modul akan ditampilkan kepada pengguna. Dapat menentukan startTime dan endTime. Modul ditampilkan segera setelah penyisipan kecuali jika startTime ditetapkan. Modul ditampilkan tanpa batas waktu jika endTime tidak ditetapkan.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2024-11-13 UTC."],[[["Value Added Modules require a header and a URI, along with optional fields like body, image, view constraints, and sort index for customization."],["The module displays a header, body (optional), and image (optional), and directs users to a specified URI upon clicking."],["View constraints, such as a display interval, can be set to control when the module is shown to users."],["Modules can be sorted using the `sortIndex` field, with lower values appearing before higher ones."]]],["The Value Added module requires `header` and `uri` fields. It uses a JSON format that includes `header`, `body`, `image`, `uri`, `viewConstraints`, and `sortIndex`. `viewConstraints` dictates when the module is displayed, using `displayInterval` to specify `startTime` and `endTime`. Modules are ordered by `sortIndex`, with lower indices appearing first. `header` and `body` have character limits. `uri` handles links, and `image` should maintain a 1:1 ratio.\n"]]