সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
অ্যান্ড্রয়েড টিভি হোম স্ক্রীনচ্যানেল এবং প্রোগ্রাম ব্যবহার করে প্রস্তাবিত সামগ্রী প্রদর্শন করে। চ্যানেলগুলি হোম স্ক্রিনে পৃথক সারি হিসাবে প্রদর্শিত হয়, কার্ডগুলির সাথে যা সেই চ্যানেলের জন্য উপলব্ধ সমস্ত প্রোগ্রাম প্রদর্শন করে।
আপনার অ্যাপে অন্তত একটি চ্যানেল থাকা উচিত। আপনার অ্যাপটি তৈরি করা প্রথম চ্যানেলটি এটির ডিফল্ট চ্যানেল হয়ে যায় এবং Android TV হোম স্ক্রিনে স্বয়ংক্রিয়ভাবে সেই চ্যানেলটি প্রদর্শন করে। আপনার অ্যাপ অন্যান্য চ্যানেলগুলি অফার করতে পারে, তবে ব্যবহারকারীকে অবশ্যই সেই চ্যানেলগুলিকে হোম স্ক্রিনে যুক্ত করার আগে নির্বাচন এবং অনুমোদন করতে হবে৷
যদি আপনার অ্যাপে টিভি শো, সিনেমা বা অন্যান্য ভিডিও সামগ্রী থাকে, তাহলে আমরা সুপারিশ করি যে আপনি ভিডিও প্রিভিউ সমর্থন করুন এবং পরবর্তী দেখুন চ্যানেলের সাথে সংহত করুন। ওয়াচ নেক্সট চ্যানেল অ্যান্ড্রয়েড সিস্টেম দ্বারা নিয়ন্ত্রিত হয়। আপনার অ্যাপ এই চ্যানেলে ব্যবহারকারী-সম্পর্কিত প্রোগ্রাম যোগ করতে পারে, যেমন প্রোগ্রাম যা ব্যবহারকারী আকর্ষণীয় হিসেবে চিহ্নিত করেছে, মাঝখানে দেখা বন্ধ করে দিয়েছে, অথবা ব্যবহারকারী যে বিষয়বস্তু দেখছেন তার সাথে সম্পর্কিত (যেমন কোনো সিরিজের পরবর্তী পর্ব বা পরবর্তী সিজন একটি শো)।
সামঞ্জস্যতা নিশ্চিত করুন
হোম স্ক্রীন Android এর সংস্করণের উপর নির্ভর করে দুটি ভিন্ন উপায়ে সুপারিশগুলি প্রদর্শন করে:
অ্যান্ড্রয়েড 8.0 (এপিআই লেভেল 26) এবং পরবর্তীতে, অ্যাপগুলি আলাদা সারিগুলিতে প্রদর্শিত এক বা একাধিক চ্যানেলে সুপারিশ দেখাতে পারে। একটি চ্যানেল (ডিফল্ট চ্যানেল) সর্বদা প্রদর্শিত হয়। ব্যবহারকারী তাদের হোম স্ক্রিনে অন্যান্য চ্যানেলগুলি আবিষ্কার এবং যোগ করতে পারে। হোম স্ক্রিনে সুপারিশ চ্যানেল তৈরি করতে শিখুন।
Android 8.0 এর আগে, Android TV একটি একক সুপারিশ সারিতে সমস্ত সুপারিশ দেখায় যা সবসময় স্ক্রিনে প্রদর্শিত হয়। হোম স্ক্রিনে সুপারিশ সারি কীভাবে তৈরি করবেন তা শিখুন।
অ্যান্ড্রয়েড টিভির সমস্ত সংস্করণে সুপারিশগুলি দেখাতে সক্ষম হতে, আপনার অ্যাপের উভয় সুপারিশ API প্রয়োগ করা উচিত। বর্তমান সিস্টেম API স্তর পরীক্ষা করুন এবং সুপারিশ সারি বা চ্যানেল তৈরি করতে উপযুক্ত API ব্যবহার করুন।
কোটলিন
if(android.os.Build.VERSION.SDK_INT>=Build.VERSION_CODES.O){// Use the home screen recommendation channels API}else{// Use the recommendations row API}
জাভা
if(android.os.Build.VERSION.SDK_INT>=Build.VERSION_CODES.O){// Use the home screen recommendation channels API}else{// Use the recommendations row API}
যদি আপনার অ্যাপটি এপিআই লেভেল 25 বা তার আগে ব্যবহার করে কম্পাইল করা হয়, তবে এটি এখনও 26 লেভেলে অ্যান্ড্রয়েড টিভিতে চলতে পারে। পুরানো সুপারিশের আচরণ ফরওয়ার্ড-সামঞ্জস্যপূর্ণ, কিন্তু সীমাবদ্ধ:
সুপারিশের সারি স্বয়ংক্রিয়ভাবে রূপান্তরিত হয় এবং হোম স্ক্রিনে একটি নতুন চ্যানেল হিসাবে প্রদর্শিত হয়।
রূপান্তরিত চ্যানেলের প্রোগ্রামগুলি আপনার সুপারিশ পরিষেবা থেকে আপডেটগুলিতে প্রতিক্রিয়া জানায়, তবে ব্যবহারকারী চ্যানেলের প্রোগ্রামগুলিকে ম্যানিপুলেট করতে (প্রোগ্রামগুলি যুক্ত/সরান, পরবর্তী চ্যানেলে প্রোগ্রামগুলি অনুলিপি করতে) টিভির UI ব্যবহার করতে পারে না।
আপনি যদি অ্যাপটি API স্তর 26-এ আপডেট করেন, তবে রূপান্তরিত চ্যানেলটি এখনও API 26 চালিত টিভিগুলিতে প্রদর্শিত হবে৷ আপনার অ্যাপটি নতুন API দিয়ে তৈরি একটি চ্যানেল প্রথমবার প্রদর্শন করলে টিভিটি স্ক্রীন থেকে রূপান্তরিত চ্যানেলটিকে সরিয়ে দেয়৷ এটি অবিলম্বে ঘটবে যদি অ্যাপটি একটি ডিফল্ট চ্যানেল তৈরি করে, অথবা পরে যখন ব্যবহারকারী আপনার অ্যাপ দ্বারা তৈরি অন্য কোনো চ্যানেল নির্বাচন করে এবং যোগ করে।
এই পৃষ্ঠার কন্টেন্ট ও কোডের নমুনাগুলি Content License-এ বর্ণিত লাইসেন্সের অধীনস্থ। Java এবং OpenJDK হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Recommend content on the home screen\n\nThe Android TV *home screen* displays recommended content using *channels* and\n*programs*. Channels are displayed as individual rows on the home screen, with\ncards that display all of the available programs for that channel.\n\nYour app should have at least one channel. The first channel your\napp creates becomes its [default channel](/training/tv/discovery/recommendations-channel#default-channel),\nand Android TV displays that channel automatically on the home screen. Your app\ncan offer other channels, but the user must select and approve those channels\nbefore they are added to the home screen.\n\nIf your app features TV shows, movies, or other video content, we recommend that\nyou support [video previews](/training/tv/discovery/preview-videos) and\nintegrate with the [Watch Next channel](/training/tv/discovery/recommendations-channel#watch-next).\nThe Watch Next channel is controlled by the Android system. Your app can add\nuser-related programs to this channel, such as programs that the user marked as\ninteresting, stopped watching in the middle, or that are related to the content\nthe user is watching (like the next episode in a series or next season of a\nshow).\n\nEnsure compatibility\n--------------------\n\nThe home screen displays recommendations two different ways depending on the\nversion of Android:\n\n- In Android 8.0 (API level 26) and later, apps can show recommendations in one or more channels that appear on separate rows. One channel (the default channel) always appears. The user can discover and add the other channels to their home screen. Learn how to create [recommendation channels](/training/tv/discovery/recommendations-channel) on the home screen.\n- Before Android 8.0, Android TV shows all recommendations in a single recommendations row that always appears on the screen. Learn how to create the [recommendation row](/training/tv/discovery/recommendations-row) on the home screen.\n\nTo be able to show recommendations on all versions of Android TV, your app\nshould implement both recommendation APIs. Test the current system API level and\nuse the appropriate API to build the recommendation row or channels. \n\n### Kotlin\n\n```kotlin\nif (android.os.Build.VERSION.SDK_INT \u003e= Build.VERSION_CODES.O) {\n // Use the home screen recommendation channels API\n} else {\n // Use the recommendations row API\n}\n```\n\n### Java\n\n```java\nif (android.os.Build.VERSION.SDK_INT \u003e= Build.VERSION_CODES.O) {\n // Use the home screen recommendation channels API\n} else {\n // Use the recommendations row API\n}\n```\n\nIf your app was compiled using API level 25 or earlier, it can still run on\nAndroid TV in level 26. The old recommendations behavior is forward-compatible,\nbut constrained:\n\n- The recommendations row is automatically converted and appears as a new channel on the home screen.\n- The programs on the converted channel respond to updates from your [recommendation service](/training/tv/discovery/recommendations-row#service), but the user cannot use the TV's UI to manipulate the programs on the channel (add/remove programs, copy programs to the Watch Next channel).\n- If you update the app to API level 26, the converted channel still appears on TVs running API 26. The TV removes the converted channel from the screen the first time your app displays a channel created with the new API. This happens immediately if the app creates a [default channel](/training/tv/discovery/recommendations-channel#the_default_channel), or later when the user selects and adds any other channel created by your app.\n\n| **Note:** This forward-compatible behavior is temporary, it will be removed sometime in the future. To ensure compatibility, the best practice is to implement both APIs, as described above."]]