পরিধান করুন
androidx.wear.activity সম্পর্কে
androidx.wear.ambient সম্পর্কে
androidx.wear.input সম্পর্কে
androidx.wear.utils সম্পর্কে
androidx.wear.widget সম্পর্কে
androidx.wear.widget.drawer সম্পর্কে
( সমস্ত পোশাক প্যাকেজের জন্য রেফডক্স দেখুন )
এই টেবিলে androidx.wear গ্রুপের সমস্ত শিল্পকর্মের তালিকা দেওয়া আছে।
| শিল্পকর্ম | স্থিতিশীল রিলিজ | রিলিজ প্রার্থী | বিটা রিলিজ | আলফা রিলিজ |
|---|---|---|---|---|
| পরিধান করা | ১.৩.০ | - | ১.৪.০-বিটা০১ | - |
| পরিধান-ইনপুট | ১.২.০ | - | - | - |
| পরিধান-ইনপুট-পরীক্ষা | ১.২.০ | - | - | - |
| জীর্ণ-অবস্থা | ১.১.০ | - | - | - |
| ফোনে কথা বলা | ১.১.০ | - | - | - |
| ওয়্যার-রিমোট-ইন্টারঅ্যাকশন | ১.১.০ | - | ১.২.০-বিটা০১ | - |
নির্ভরতা ঘোষণা করা
Wear-এর উপর নির্ভরতা যোগ করতে, আপনার প্রোজেক্টে Google Maven রিপোজিটরি যোগ করতে হবে। আরও তথ্যের জন্য Google-এর Maven রিপোজিটরি পড়ুন।
আপনার অ্যাপ বা মডিউলের জন্য build.gradle ফাইলে আপনার প্রয়োজনীয় আর্টিফ্যাক্টের জন্য নির্ভরতা যোগ করুন:
গ্রোভি
dependencies { implementation "androidx.wear:wear:1.3.0" // Add support for wearable specific inputs implementation "androidx.wear:wear-input:1.2.0" implementation "androidx.wear:wear-input-testing:1.2.0" // Use to implement wear ongoing activities implementation "androidx.wear:wear-ongoing:1.1.0" // Use to implement support for interactions from the Wearables to Phones implementation "androidx.wear:wear-phone-interactions:1.1.0" // Use to implement support for interactions between the Wearables and Phones implementation "androidx.wear:wear-remote-interactions:1.1.0" }
কোটলিন
dependencies { implementation("androidx.wear:wear:1.3.0") // Add support for wearable specific inputs implementation("androidx.wear:wear-input:1.2.0") implementation("androidx.wear:wear-input-testing:1.2.0") // Use to implement wear ongoing activities implementation("androidx.wear:wear-ongoing:1.1.0") // Use to implement support for interactions from the Wearables to Phones implementation("androidx.wear:wear-phone-interactions:1.1.0") // Use to implement support for interactions between the Wearables and Phones implementation("androidx.wear:wear-remote-interactions:1.1.0") }
নির্ভরতা সম্পর্কে আরও তথ্যের জন্য, বিল্ড নির্ভরতা যোগ করুন দেখুন।
প্রতিক্রিয়া
আপনার মতামত জেটপ্যাককে আরও উন্নত করতে সাহায্য করবে। আপনি যদি নতুন সমস্যা আবিষ্কার করেন অথবা এই লাইব্রেরি উন্নত করার জন্য কোন ধারণা থাকে তাহলে আমাদের জানান। নতুন একটি তৈরি করার আগে দয়া করে এই লাইব্রেরিতে বিদ্যমান সমস্যাগুলি একবার দেখে নিন। আপনি তারকা বোতামে ক্লিক করে বিদ্যমান সমস্যাটিতে আপনার ভোট যোগ করতে পারেন।
আরও তথ্যের জন্য ইস্যু ট্র্যাকার ডকুমেন্টেশন দেখুন।
ওয়্যার কোর ভার্সন ১.০
সংস্করণ 1.0.0
১৭ ডিসেম্বর, ২০২৫
androidx.wear:wear-core:1.0.0 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-এ এই কমিটগুলি রয়েছে।
১.০.০ এর প্রধান বৈশিষ্ট্য:
- Wear-এ রানটাইম API সামঞ্জস্যতা পরীক্ষায় সহায়তা করার জন্য
WearApiVersionHelperযোগ করা হয়েছে। ক্লায়েন্টরা এই স্ট্যাটিক হেল্পার ক্লাস এবং প্রদত্ত পদ্ধতি(#isApiVersionAtLeast(VERSION))ব্যবহার করে সামঞ্জস্যতা পরীক্ষা করতে পারেন।
সংস্করণ 1.0.0-rc01
৮ অক্টোবর, ২০২৫
androidx.wear:wear-core:1.0.0-rc01 কোনও পরিবর্তন ছাড়াই প্রকাশিত হয়েছে। সংস্করণ 1.0.0-rc01-এ এই কমিটগুলি রয়েছে।
সংস্করণ 1.0.0-beta02
১০ সেপ্টেম্বর, ২০২৫
androidx.wear:wear-core:1.0.0-beta02 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-beta02-এ এই কমিটগুলি রয়েছে।
বাগ ফিক্স
- নতুন API পরীক্ষা করার সময়
WearApiVersionHelperপুরোনো ডিভাইসে ব্যবহার করা থেকে বিরত রাখুন।
সংস্করণ 1.0.0-beta01
৩০ জুলাই, ২০২৫
androidx.wear:wear-core:1.0.0-beta01 শেষ আলফা থেকে কোনও উল্লেখযোগ্য পরিবর্তন ছাড়াই প্রকাশিত হয়েছে। সংস্করণ 1.0.0-beta01-এ এই কমিটগুলি রয়েছে।
সংস্করণ 1.0.0-alpha02
১৬ জুলাই, ২০২৫
androidx.wear:wear-core:1.0.0-alpha02 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha02-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- VIC/Baklava ( I4676d ) অন্তর্ভুক্ত করার জন্য
WearApiVersionHelperআপডেট করা হয়েছে
বাগ ফিক্স
- এই লাইব্রেরিটি এখন JSpecify nullness annotations ব্যবহার করে, যা টাইপ-ব্যবহারের জন্য। সঠিক ব্যবহার জোরদার করার জন্য Kotlin ডেভেলপারদের নিম্নলিখিত কম্পাইলার আর্গুমেন্ট ব্যবহার করা উচিত:
-Xjspecify-annotations=strict,-Xtype-enhancement-improvements-strict-mode( Icbfb9 , b/326456246 )
সংস্করণ 1.0.0-alpha01
২৯ মে, ২০২৪
androidx.wear:wear-core:1.0.0-alpha01 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha01-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- Wear-এ রানটাইম API সামঞ্জস্যতা পরীক্ষায় সহায়তা করার জন্য একটি নতুন ক্লাস
WearApiVersionhelperযোগ করা হয়েছে। ক্লায়েন্টরা এই স্ট্যাটিক হেল্পার ক্লাস এবং প্রদত্ত পদ্ধতি (#isApiVersionAtLeast(VERSION)) ব্যবহার করে সামঞ্জস্যতা পরীক্ষা করতে পারেন।
ওয়্যার টুলিং প্রিভিউ সংস্করণ 1.0
সংস্করণ 1.0.0
২৯ নভেম্বর, ২০২৩
androidx.wear:wear-tooling-preview:1.0.0 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-এ এই কমিটগুলি রয়েছে।
১.০.০ এর বৈশিষ্ট্যগুলি
- UI প্রিভিউয়ের জন্য ব্যবহার করা যেতে পারে এমন বৈধ পরিধান ডিভাইসগুলির তালিকা তৈরি করতে
WearDevicesযোগ করুন।
সংস্করণ 1.0.0-rc01
১৫ নভেম্বর, ২০২৩
androidx.wear:wear-tooling-preview:1.0.0-rc01 কোনও পরিবর্তন ছাড়াই প্রকাশিত হয়েছে। সংস্করণ 1.0.0-rc01-এ এই কমিটগুলি রয়েছে।
সংস্করণ 1.0.0-beta01
১৮ অক্টোবর, ২০২৩
androidx.wear:wear-tooling-preview:1.0.0-beta01 কোনও পরিবর্তন ছাড়াই প্রকাশিত হয়েছে। সংস্করণ 1.0.0-beta01-এ এই কমিটগুলি রয়েছে।
সংস্করণ 1.0.0-alpha01
২৩ আগস্ট, ২০২৩
androidx.wear:wear-tooling-preview:1.0.0-alpha01 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha01-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- UI প্রিভিউয়ের জন্য ব্যবহার করা যেতে পারে এমন বৈধ পরিধান ডিভাইসগুলির তালিকায়
WearDevicesযোগ করুন ( Ib036e )
ওয়্যার ভার্সন ১.৪
সংস্করণ 1.4.0-beta01
১৭ ডিসেম্বর, ২০২৫
androidx.wear:wear:1.4.0-beta01 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-beta01-এ এই কমিটগুলি রয়েছে।
- পূর্ববর্তী আলফা রিলিজের পর থেকে কোনও উল্লেখযোগ্য নতুন পরিবর্তন হয়নি।
সংস্করণ 1.4.0-alpha02
১৬ জুলাই, ২০২৫
androidx.wear:wear:1.4.0-alpha02 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha02-এ এই কমিটগুলি রয়েছে।
বাগ ফিক্স
- এই লাইব্রেরিটি এখন JSpecify nullness annotations ব্যবহার করে, যা টাইপ-ব্যবহারের জন্য। সঠিক ব্যবহার জোরদার করার জন্য Kotlin ডেভেলপারদের নিম্নলিখিত কম্পাইলার আর্গুমেন্ট ব্যবহার করা উচিত:
-Xjspecify-annotations=strict,-Xtype-enhancement-improvements-strict-mode( If4b1a , b/326456246 )
সংস্করণ 1.4.0-alpha01
১৫ নভেম্বর, ২০২৩
androidx.wear:wear:1.4.0-alpha01 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha01-এ এই কমিটগুলি রয়েছে।
বাগ ফিক্স
- কোনও বার্তা না থাকলে
ConfirmationOverlayআইকনটি উল্লম্বভাবে কেন্দ্রে রাখুন। ( I496d8 )
ওয়্যার ভার্সন ১.৩
সংস্করণ 1.3.0
৯ আগস্ট, ২০২৩
androidx.wear:wear:1.3.0 1.3.0-rc01 থেকে কোনও পরিবর্তন ছাড়াই প্রকাশিত হয়েছে। সংস্করণ 1.3.0-এ এই কমিটগুলি রয়েছে।
১.২.০ থেকে গুরুত্বপূর্ণ পরিবর্তনগুলি
-
LifecycleObserverব্যবহার করতেAmbientModeSupportমাইগ্রেট করুন। নতুন লাইফসাইকেল-সচেতন ক্লাসের পক্ষেAmbientModeSupportঅবমূল্যায়ন করুন। - নতুন আইকন/লেআউট, ফন্ট এবং ফন্ট মেট্রিক্স সহ
ConfirmationOverlayআপডেট করুন -
FragmentContainerViewব্যবহার করার সময় ত্রুটি সংশোধন করার জন্যSwipeDismissTransitionHelper২য়Viewপরিবর্তে একটি ব্যাকগ্রাউন্ড ড্রয়েবল ব্যবহার করার জন্য আপডেট করা হয়েছে। -
SwipeDismissFrameLayoutঅ্যানিমেশনটি Wear প্ল্যাটফর্ম এবং Wear Compose বাস্তবায়নের সাথে সামঞ্জস্যপূর্ণ করার জন্য আপডেট করা হয়েছে। - উল্লম্ব ফ্লিং এর মাধ্যমে দুর্ঘটনাক্রমে টুকরোগুলো খারিজ হওয়া এড়াতে
SwipeDismissFrameLayoutবাগ সংশোধন করা হয়েছে। -
ArcLayoutএখন এক্সপেনশন ওয়েট সমর্থন করে যা নিয়মিত লেআউট ওয়েটের মতোই কাজ করে। -
ArcLayoutএ সাপোর্টlayoutDirection
সংস্করণ 1.3.0-rc01
২১ জুন, ২০২৩
androidx.wear:wear:1.3.0-rc01 1.3.0-beta01 থেকে কোনও পরিবর্তন ছাড়াই প্রকাশিত হয়েছে। 1.3.0-rc01 সংস্করণে এই কমিটগুলি রয়েছে।
সংস্করণ 1.3.0-beta01
৭ জুন, ২০২৩
androidx.wear:wear:1.3.0-beta01 প্রকাশিত হয়েছে। সংস্করণ 1.3.0-beta01-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- প্রতিক্রিয়ার পরে
AmbientLifecycleObserverআপডেট করা হয়েছে।AmbientLifecycleObserverInterfaceএর নাম পরিবর্তন করেAmbientLifecycleObserverরাখা হয়েছে, এবংAmbientLifecycleObserver(...)কল করে একটি উদাহরণ পাওয়া যেতে পারে।isAmbientএকটি পদ্ধতির পরিবর্তে একটি ক্ষেত্র হিসাবে স্থানান্তরিত করা হয়েছে। ( I84b4f )
বাগ ফিক্স
-
SwipeToDismissএ আলফা এবং অনুবাদ রিসেট করার সময় প্যারেন্ট ভিউ নাল থাকলে কেসগুলি পরিচালনা করার জন্য নাল চেক যোগ করা হচ্ছে। ( Ib0ec7 )
সংস্করণ 1.3.0-alpha05
১৯ এপ্রিল, ২০২৩
androidx.wear:wear:1.3.0-alpha05 প্রকাশিত হয়েছে। সংস্করণ 1.3.0-alpha05-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
-
LifecycleObserverব্যবহার করার জন্যAmbientModeSupportমাইগ্রেট করুন। নতুন লাইফসাইকেল-সচেতন ক্লাসের পক্ষেAmbientModeSupportঅবমূল্যায়ন করুন। ( I1593b )
বাগ ফিক্স
-
FragmentContainerViewব্যবহার করার সময় ত্রুটিগুলি ঠিক করার জন্য ভিউ যোগ করার পরিবর্তে ড্রয়েবল ব্যবহার করার জন্যSwipeDismissTransitionHelperব্যাকগ্রাউন্ড স্ক্রিম পদ্ধতি আপডেট করুন। ( I851cd )
সংস্করণ 1.3.0-alpha04
২৫ জানুয়ারী, ২০২৩
androidx.wear:wear:1.3.0-alpha04 প্রকাশিত হয়েছে। সংস্করণ 1.3.0-alpha04-এ এই কমিটগুলি রয়েছে।
বাগ ফিক্স
- আমরা
SwipeDismissFrameLayoutএ অ্যানিমেশন আপডেট করেছি যাতে Wear প্ল্যাটফর্ম এবং Wear Compose বাস্তবায়নের সাথে সামঞ্জস্যপূর্ণ হয়। ( I7261b )
সংস্করণ 1.3.0-alpha03
২৪ আগস্ট, ২০২২
androidx.wear:wear:1.3.0-alpha03 প্রকাশিত হয়েছে। সংস্করণ 1.3.0-alpha03-এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
-
ArcLayoutএখন এক্সপেনশন ওয়েট সমর্থন করে যা নিয়মিত লেআউট ওয়েটের মতোই কাজ করে। এর অর্থ হল আপনি চাইল্ড এলিমেন্টের আপেক্ষিক আকার নির্দিষ্ট করতে পারবেন সরাসরি তাদের কোণ গণনা না করেই। আমরা একটি সর্বোত্তম প্রচেষ্টাMaxAngleDegreesও যুক্ত করেছি যা চাইল্ড এলিমেন্টগুলিকে ওজন দিয়ে প্রসারিত করার সময় সম্মানিত হয়। উদাহরণস্বরূপ, আপনি 90 ডিগ্রি ওজন সহ বেশ কয়েকটি বাচ্চাদের সাথে চাপটি ক্ল্যাম্প করতে পারেন, এটি কোনও অ-প্রসারিত উপাদান দ্বারা নেওয়া স্থানকেও সম্মান করবে..
API পরিবর্তনগুলি
- আমরা
ArcLayout.LayoutParamsএ ওজন যোগ করেছি যা একটি উইজেটকে উপলব্ধ স্থান পূরণ করার জন্য প্রসারিত করতে দেয়, যদি একাধিক উইজেট থাকে তবে উপলব্ধ স্থানের তাদের ভাগ তাদের ওজনের সমানুপাতিক। এছাড়াও আমরাArcLayout.setMaxAngleDegreesযোগ করেছি যাতে আপনি উদাহরণস্বরূপ 90 ডিগ্রিতে সম্প্রসারণ সীমাবদ্ধ করতে পারেন (বিশেষ করে এটি কোনও নির্দিষ্ট আকারের চাইল্ড উইজেটের লেআউটকে প্রভাবিত করে না)। অবশেষেArcLayout.WidgetএখনsetSweepAngleDegreesরয়েছে যাArcLayoutতার আকারের শূন্য-ওজনবিহীন একটি উইজেটকে অবহিত করতে দেয়। ( I75f24 ) -
setColorFilterএর আপডেট করা বাতিলযোগ্যতা ( I99ddf , b/236498063 )
সংস্করণ 1.3.0-alpha02
২৩ ফেব্রুয়ারী, ২০২২
androidx.wear:wear:1.3.0-alpha02 প্রকাশিত হয়েছে। সংস্করণ 1.3.0-alpha02-এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
-
ArcLayout( I14d49 ) এ সাপোর্টlayoutDirection - ConfirmationOverlay ( I0fdf8 ) এর জন্য উন্নত কন্টেন্ট বর্ণনা বার্তা
- নতুন আইকন/লেআউট সহ
ConfirmationOverlayআপডেট করুন। ( If5b54 )
বাগ ফিক্স
- অ্যাম্বিয়েন্ট-সম্পর্কিত কোড বজায় রাখার জন্য ProGuard নিয়ম যোগ করা হয়েছে ( Idaa10 )
- SwipeDismissFrameLayout-এ উল্লম্ব ফ্লিং ( Idb6d8 ) ব্যবহার করে ভুলবশত টুকরোগুলো খারিজ করা এড়িয়ে চলুন।
- যখন কোনও বার্তা না থাকে তখন ConfirmationOverlay ঠিক করুন ( I63e6f )
বহিরাগত অবদান
- Dae Gyu LEE (Samsung) - SwipeDismissFrameLayout-এ উল্লম্ব ফ্লিং ( Idb6d8 ) ব্যবহার করে ভুলবশত টুকরোগুলো খারিজ করা এড়িয়ে চলুন।
সংস্করণ 1.3.0-alpha01
২৯ সেপ্টেম্বর, ২০২১
androidx.wear:wear:1.3.0-alpha01 প্রকাশিত হয়েছে। সংস্করণ 1.3.0-alpha01-এ এই কমিটগুলি রয়েছে।
বাগ ফিক্স
-
ConfirmationOverlayএখন আইকনটিকে উপরে ঠেলে লম্বা বার্তাগুলি ধারণ করে, বার্তাটি ডিভাইসের বেজেলে (অথবা অফ-স্ক্রিনে) প্রবেশ না করে। ( I54bff )
ওয়্যার-রিমোট-ইন্টারঅ্যাকশন সংস্করণ 1.2.0
সংস্করণ 1.2.0-beta01
১৭ ডিসেম্বর, ২০২৫
androidx.wear:wear-remote-interactions:1.2.0-beta01 প্রকাশিত হয়েছে। সংস্করণ 1.2.0-beta01-এ এই কমিটগুলি রয়েছে।
- পূর্ববর্তী আলফা রিলিজের পর থেকে কোনও উল্লেখযোগ্য নতুন পরিবর্তন হয়নি।
সংস্করণ 1.2.0-alpha01
২ জুলাই, ২০২৫
androidx.wear:wear-remote-interactions:1.2.0-alpha01 প্রকাশিত হয়েছে। সংস্করণ 1.2.0-alpha01-এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
- নতুন পাবলিক Wear SDK API (
startRemoteActivity) ব্যবহার করার জন্যRemoteActivityHelper.startRemoteActivityআপডেট করা হয়েছে, যদি এটি উপলব্ধ থাকে (Wear 6 থেকে)। ( Id1e77 )
Wear Ongoing & Interactions সংস্করণ 1.1.0
সংস্করণ 1.1.0
২৬ ফেব্রুয়ারী, ২০২৫
androidx.wear:wear-phone-interactions:1.1.0 প্রকাশিত হয়েছে। সংস্করণ 1.1.0-এ এই কমিটগুলি রয়েছে।
১.০.০ থেকে গুরুত্বপূর্ণ পরিবর্তনগুলি
- এই সংস্করণে Wear OS 5 (API লেভেল 34) বা তার বেশি চলমান এবং API লেভেল 35 বা তার বেশি লক্ষ্য করে চলমান অ্যাপগুলির জন্য গুরুত্বপূর্ণ বাগ ফিক্স রয়েছে।
- অ্যাপগুলিকে তাদের
targetSdkVersion৩৫ বা তার বেশি সংস্করণে আপডেট করার আগে লাইব্রেরির এই সংস্করণে আপডেট করা উচিত। - অন্যথায়, রানটাইম ব্যতিক্রমটি নিক্ষেপ করা হবে।
- পেয়ারড ডিভাইসের ধরণের জন্য একটি নতুন সংজ্ঞা -
none, যখন ডিভাইসটি ফোনের সাথে পেয়ার করা হয় না, যোগ করা হয়েছে।
সংস্করণ 1.1.0-rc01
১২ ফেব্রুয়ারী, ২০২৫
androidx.wear:wear-phone-interactions:1.1.0-rc01 শেষ বিটা থেকে কোনও উল্লেখযোগ্য পরিবর্তন ছাড়াই প্রকাশিত হয়েছে। সংস্করণ 1.1.0-rc01-এ এই কমিটগুলি রয়েছে।
সংস্করণ 1.1.0-beta01
২৯ জানুয়ারী, ২০২৫
androidx.wear:wear-phone-interactions:1.1.0-beta01 প্রকাশিত হয়েছে। সংস্করণ 1.1.0-beta01-এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
Wear Phone Interactions এর 1.1.0-beta01 সংস্করণটি ইঙ্গিত দেয় যে লাইব্রেরির এই সংস্করণটি সম্পূর্ণ বৈশিষ্ট্যযুক্ত এবং API লক করা আছে (পরীক্ষামূলক হিসাবে চিহ্নিত করা ব্যতীত)। Wear Phone Interactions 1.1-এ নিম্নলিখিত নতুন কার্যকারিতা এবং API অন্তর্ভুক্ত রয়েছে:
-
OAuthRequestএredirectUrlপ্রপার্টি যোগ করা হয়েছে। - ডকুমেন্টেশন সংশোধন
- ফোনের সাথে ডিভাইসটি কখন যুক্ত করা হবে না তা নির্দিষ্ট করার জন্য
PhoneTypeHelperএ অতিরিক্ত টাইপ করুন, বিদ্যমান অজানা টাইপ ব্যবহার করার পরিবর্তে।
API পরিবর্তনগুলি
- পেয়ারড ডিভাইসের ধরণের জন্য নতুন সংজ্ঞা যোগ করা হয়েছে - কোনটিই নয়, যখন ডিভাইসটি ফোনের সাথে পেয়ার করা না থাকে। ( I06cb8 )
সংস্করণ 1.1.0-alpha05
১১ ডিসেম্বর, ২০২৪
androidx.wear:wear-phone-interactions:1.1.0-alpha05 প্রকাশিত হয়েছে। সংস্করণ 1.1.0-alpha05-এ এই কমিটগুলি রয়েছে।
বাগ ফিক্স
- Wear OS 5 (API লেভেল 34) বা তার বেশি ভার্সনে চলাকালীন, API লেভেল 35 বা তার বেশি ভার্সন টার্গেট করার সময় ক্র্যাশ বাগ ঠিক করুন। অ্যাপগুলিকে তাদের
targetSdkVersion35 বা তার বেশি ভার্সনে আপডেট করার আগে লাইব্রেরির এই ভার্সনে আপডেট করা উচিত।
সংস্করণ 1.1.0
১১ ডিসেম্বর, ২০২৪
androidx.wear:wear-remote-interactions:1.1.0 প্রকাশিত হয়েছে। সংস্করণ 1.1.0-এ এই কমিটগুলি রয়েছে।
১.০.০ থেকে গুরুত্বপূর্ণ পরিবর্তনগুলি
- আমরা
RemoteActivityHelper.isRemoteActivityHelperAvailableযোগ করেছি যা দূরবর্তী কার্যকলাপ চালু করার কার্যকারিতা উপলব্ধ কিনা তা পরীক্ষা করতে সাহায্য করে। ( I107a9 )
সংস্করণ 1.1.0-rc01
১৬ অক্টোবর, ২০২৪
androidx.wear:wear-remote-interactions:1.1.0-rc01 1.1.0-beta01 থেকে কোনও পরিবর্তন ছাড়াই প্রকাশিত হয়েছে। 1.1.0-rc01 সংস্করণে এই কমিটগুলি রয়েছে।
সংস্করণ 1.1.0-beta01
২৪ জুলাই, ২০২৪
androidx.wear:wear-remote-interactions:1.1.0-beta01 প্রকাশিত হয়েছে। সংস্করণ 1.1.0-beta01-এ এই কমিটগুলি রয়েছে। Wear Remote Interactions-এর 1.3.0-beta01 সংস্করণটি নির্দেশ করে যে লাইব্রেরির এই সংস্করণটি সম্পূর্ণ বৈশিষ্ট্যযুক্ত এবং API লক করা আছে (পরীক্ষামূলক হিসাবে চিহ্নিত করা ব্যতীত)।
সংস্করণ 1.1.0-alpha04
১০ জানুয়ারী, ২০২৪
androidx.wear:wear-phone-interactions:1.1.0-alpha04 প্রকাশিত হয়েছে। সংস্করণ 1.1.0-alpha04-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- আমরা
RemoteAuthClient.isRemoteAuthAvailableযোগ করেছি যা দূরবর্তী প্রমাণীকরণ উপলব্ধ কিনা তা পরীক্ষা করে। ( Ibc10c )
সংস্করণ 1.1.0-alpha02
১০ জানুয়ারী, ২০২৪
androidx.wear:wear-remote-interactions:1.1.0-alpha02 প্রকাশিত হয়েছে। সংস্করণ 1.1.0-alpha02-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- আমরা
RemoteActivityHelper.isRemoteActivityHelperAvailableযোগ করেছি যা দূরবর্তী কার্যকলাপ চালু করার কার্যকারিতা উপলব্ধ কিনা তা পরীক্ষা করতে সাহায্য করে। ( I107a9 ) - আমরা জাভাতে ঐচ্ছিক প্যারামিটার সামঞ্জস্যপূর্ণ করার জন্য
RemoteActivityHelperএর কনস্ট্রাক্টর আপডেট করেছি। ( I75554 )
সংস্করণ 1.1.0-alpha01
২১ জুন, ২০২৩
androidx.wear:wear-remote-interactions:1.1.0-alpha01 প্রকাশিত হয়েছে। সংস্করণ 1.1.0-alpha01-এ এই কমিটগুলি রয়েছে।
বাগ ফিক্স
-
RemoteActivityHelperএ সমাপ্তি এবং ত্রুটি পরিচালনার পদ্ধতি উন্নত করা হয়েছে। ( I60d60 )
বহিরাগত অবদান
-
wear-remote-interactionsথেকে পেয়ারার উপর নির্ভরতা দূর করুন এবং ছোট বিকল্প ব্যবহার করুন।
Wear-Phone-Interactions সংস্করণ 1.1.0-alpha03
৯ মার্চ, ২০২২
androidx.wear:wear-phone-interactions:1.1.0-alpha03 প্রকাশিত হয়েছে। সংস্করণ 1.1.0-alpha03-এ এই কমিটগুলি রয়েছে।
বাগ ফিক্স
- যদি প্রদত্ত অনুরোধ URL-এ পুনঃনির্দেশ URL সেট না থাকে, তাহলে
OAuthRequestথেকেredirectUrlএখন একটি খালি স্ট্রিং ফেরত দেয়। ( I44242 )
Wear-Phone-Interactions সংস্করণ 1.1.0-alpha02
১৫ ডিসেম্বর, ২০২১
androidx.wear:wear-phone-interactions:1.1.0-alpha02 প্রকাশিত হয়েছে। সংস্করণ 1.1.0-alpha02-এ এই কমিটগুলি রয়েছে।
বাগ ফিক্স
-
RemoteAuthClientডকুমেন্টেশনের ত্রুটিগুলি ঠিক করুন, যার মধ্যে কোড নমুনা স্নিপেটের ত্রুটি এবংErrorCode( I260e8 ) এর মৃত লিঙ্ক অন্তর্ভুক্ত রয়েছে।
Wear-Phone-Interactions সংস্করণ 1.1.0-alpha01
১৫ সেপ্টেম্বর, ২০২১
androidx.wear:wear-phone-interactions:1.1.0-alpha01 প্রকাশিত হয়েছে। সংস্করণ 1.1.0-alpha01-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
Wear Ongoing & Interactions সংস্করণ 1.0.0
Wear-Phone-Interactions সংস্করণ 1.0.1
১৫ ডিসেম্বর, ২০২১
androidx.wear:wear-phone-interactions:1.0.1 প্রকাশিত হয়েছে। সংস্করণ 1.0.1-এ এই কমিটগুলি রয়েছে।
বাগ ফিক্স
-
excludedTagsছাড়া ব্রিজিং বিজ্ঞপ্তিগুলি অক্ষম করার চেষ্টা করার সময়BridgingManagerথেকে একটি নির্দিষ্ট ব্যতিক্রম নিষ্ক্রিয় করা হয়েছিল।
Wear-Phone-Interactions Wear-Remote-Interactions সংস্করণ 1.0.0
১৫ সেপ্টেম্বর, ২০২১
androidx.wear:wear-phone-interactions:1.0.0 এবং androidx.wear:wear-remote-interactions:1.0.0 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-এ এই কমিটগুলি রয়েছে।
১.০.০ এর প্রধান বৈশিষ্ট্য
ফোন ইন্টারঅ্যাকশন লাইব্রেরিতে ওয়্যারেবল থেকে ফোনে ইন্টারঅ্যাকশনের জন্য API রয়েছে। এতে নিম্নলিখিতগুলি রয়েছে:
-
PhoneDeviceType, যা বর্তমান ঘড়িটি কোন ধরণের ফোনের সাথে যুক্ত করা হয়েছে তা নির্ধারণের জন্য সহায়ক পদ্ধতি প্রদান করে, শুধুমাত্র পরিধানযোগ্য ডিভাইসে ব্যবহারের জন্য। -
BridgingManager,BridgingManagerServiceএবংBridgingConfigAPI গুলি রানটাইমে বিজ্ঞপ্তিগুলি সক্ষম/অক্ষম করতে এবং ঐচ্ছিকভাবে ব্রিজিং মোড থেকে মুক্ত বিজ্ঞপ্তিগুলির জন্য ট্যাগ সেট করতে। -
RemoteAuthClient, Wearables-এ রিমোট অথেনটিকেশনের জন্য সহায়তা প্রদান করে এবং OAuth PKCE এক্সটেনশন যোগ করার জন্য সহায়তা প্রদান করে। যোগাযোগের জন্য অতিরিক্ত হ্যান্ডলার এবং সহায়ক ক্লাস সরবরাহ করা হয়েছে।
রিমোট ইন্টারঅ্যাকশন লাইব্রেরিতে পরিধেয় ডিভাইস এবং ফোনের মধ্যে ইন্টারঅ্যাকশনের জন্য API রয়েছে। এতে নিম্নলিখিতগুলি রয়েছে:
-
WatchFaceConfigIntentHelper, ফোনে থাকা সঙ্গীর জন্য ওয়াচফেস কনফিগারেশন কার্যকলাপে আইডি এবং উপাদানের নাম নির্দিষ্ট করার জন্য সহায়ক ফাংশন প্রদান করে। -
RemoteActivityHelperক্লাস যা অন্যান্য ডিভাইসে (যেমন ঘড়ি থেকে ফোনে) ইন্টেন্ট খোলার জন্য ব্যবহার করা যেতে পারে।
Wear-Phone-Interactions Wear-Remote-Interactions সংস্করণ 1.0.0-rc01
১ সেপ্টেম্বর, ২০২১
androidx.wear:wear-phone-interactions:1.0.0-rc01 এবং androidx.wear:wear-remote-interactions:1.0.0-rc01 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-rc01-এ এই কমিটগুলি রয়েছে।
বাগ ফিক্স
- RemoteActivityHelper ( I60d60 ) ব্যবহার করার সময় Google Play পরিষেবার মধ্যে উত্থাপিত ত্রুটিগুলি কলারে প্রচারিত হতে বাধা দেওয়ার বাগ সংশোধন করুন।
- কোন সংযুক্ত নোড না থাকলে, অথবা অনুরোধকৃত নোডআইডি না পাওয়া গেলে, রিমোটঅ্যাক্টিভিটিহেল্পার কখনই তার ভবিষ্যত পূরণ করবে না এমন বাগ ঠিক করুন ( I60d60 )
পরিধান-চলমান সংস্করণ 1.1
সংস্করণ 1.1.0
১০ সেপ্টেম্বর, ২০২৫
androidx.wear:wear-ongoing:1.1.0 প্রকাশিত হয়েছে। সংস্করণ 1.1.0-এ এই কমিটগুলি রয়েছে।
১.০.০ থেকে গুরুত্বপূর্ণ পরিবর্তনগুলি:
- চলমান কার্যকলাপে একটি বিষয়বস্তু বর্ণনা ক্ষেত্র যোগ করা হয়েছে, যা অ্যাক্সেসিবিলিটি পরিষেবাগুলি দ্বারা ব্যবহৃত হয়।
- SDK 33 এবং তার উপরে
POST_NOTIFICATIONSঅনুমতির প্রয়োজন এমন API গুলিতেRequiresPermissionঅ্যানোটেশন যোগ করা হয়েছে।
সংস্করণ 1.1.0-rc01
২৭ আগস্ট, ২০২৫
androidx.wear:wear-ongoing:1.1.0-rc01 শেষ বিটা থেকে কোনও পরিবর্তন ছাড়াই প্রকাশিত হয়েছে। সংস্করণ 1.1.0-rc01-এ এই কমিটগুলি রয়েছে।
সংস্করণ 1.1.0-beta01
৩০ জুলাই, ২০২৫
androidx.wear:wear-ongoing:1.1.0-beta01 শেষ আলফা থেকে কোনও উল্লেখযোগ্য পরিবর্তন ছাড়াই প্রকাশিত হয়েছে। সংস্করণ 1.1.0-beta01-এ এই কমিটগুলি রয়েছে।
সংস্করণ 1.1.0-alpha01
২৩ আগস্ট, ২০২৩
androidx.wear:wear-ongoing:1.1.0-alpha01 প্রকাশিত হয়েছে। সংস্করণ 1.1.0-alpha01-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- চলমান কার্যকলাপে একটি কন্টেন্ট বর্ণনা ক্ষেত্র যোগ করুন। এটি অ্যাক্সেসিবিলিটি পরিষেবাগুলি চলমান কার্যকলাপের বর্ণনা দেওয়ার জন্য ব্যবহার করবে। ( I79fc6 )
বাগ ফিক্স
- SDK 33 এবং তার উপরে
POST_NOTIFICATIONSঅনুমতি প্রদানের প্রয়োজন এমন API গুলিতে@RequiresPermissionযোগ করা হয়েছে। ( Ie542e , b/238790278 )
পরিধান-চলমান সংস্করণ 1.0.0
১ সেপ্টেম্বর, ২০২১
androidx.wear:wear-ongoing:1.0.0 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-এ এই কমিটগুলি রয়েছে।
১.০.০ এর প্রধান বৈশিষ্ট্য
- Wear Ongoing Activities API হল ডেভেলপারদের জন্য একটি API, যার মধ্যে তৃতীয় পক্ষের ডেভেলপাররাও অন্তর্ভুক্ত, তাদের কার্যকলাপকে "Ongoing Activity" হিসেবে চিহ্নিত করতে এবং প্রয়োজনীয় তথ্য প্রদান করতে ব্যবহৃত হয়।
- চলমান কার্যকলাপ বলতে ঘড়ির পটভূমিতে চলমান কার্যকলাপগুলিকে বোঝায় (যেমন ওয়ার্কআউট, কল এবং মিডিয়া)। Wear 3-এ, চলমান হিসাবে ঘোষিত কার্যকলাপটি ওয়াচফেসে একটি ডেডিকেটেড ওভারলে আইকন এবং অ্যাপ লঞ্চারে একটি ভিন্ন রেন্ডারিংয়ের মাধ্যমে আরও বিশিষ্ট করা হবে।
- আরও তথ্যের জন্য, Wear Ongoing Activity Guide দেখুন।
Wear-Phone-Interactions Wear-Remote-Interactions সংস্করণ 1.0.0-beta01
১৮ আগস্ট, ২০২১
androidx.wear:wear-phone-interactions:1.0.0-beta01 এবং androidx.wear:wear-remote-interactions:1.0.0-beta01 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-beta01-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- ক্লাস
RemoteIntentHelperনাম পরিবর্তন করেRemoteActivityHelperকরা হয়েছে। ফাংশনRemoteIntentHelper#getRemoteIntentExtraIntentএবংRemoteIntentHelper#getRemoteIntentNodeIdএর নাম পরিবর্তন করে যথাক্রমেRemoteActivityHelper#getTargetIntentএবংRemoteActivityHelper#getTargetNodeId। ( Id2042 )
ওয়্যার-অনগোয়িং ভার্সন 1.0.0-rc01
১৮ আগস্ট, ২০২১
androidx.wear:wear-ongoing:1.0.0-rc01 1.0.0-beta01 থেকে কোনও পরিবর্তন ছাড়াই প্রকাশিত হয়েছে। 1.0.0-rc01 সংস্করণে এই কমিটগুলি রয়েছে।
ওয়্যার-অনগোয়িং ভার্সন 1.0.0-beta01
৪ আগস্ট, ২০২১
androidx.wear:wear-ongoing:1.0.0-beta01 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-beta01-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- OngoingActivity.Builder-এর কিছু সেটার এখন সেটার এবং গেটারদের প্রতিসাম্য এবং ধারাবাহিকতা দেওয়ার জন্য একটি নাল আর্গুমেন্ট গ্রহণ করে ( I17ee5 )
Wear-Phone-Interactions সংস্করণ 1.0.0-alpha07
৪ আগস্ট, ২০২১
androidx.wear:wear-phone-interactions:1.0.0-alpha07 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha07-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
-
WearTypeHelper.isChinaDeviceনাম পরিবর্তন করেWearTypeHelper.isChinaBuildকরা হয়েছে। ( I47302 ) - আমরা ডিভাইসের ধরণ (RoW/China) এর উপর ভিত্তি করে স্বয়ংক্রিয়ভাবে redirect_uri বেছে নেওয়ার জন্য RemoteAuthClient লাইব্রেরি আপডেট করেছি। ( I38866 )
- ClassCastException ব্যবহার করে BridgingConfig কে Bundle থেকে/এ রূপান্তর করতে ব্যর্থ হওয়ার বাগটি ঠিক করা হয়েছে। BridgingManagerService ক্লাসের জন্য ইউনিট পরীক্ষা যোগ করা হয়েছে। ( I68ecb )
ওয়্যার-রিমোট-ইন্টারঅ্যাকশন সংস্করণ 1.0.0-alpha06
৪ আগস্ট, ২০২১
androidx.wear:wear-remote-interactions:1.0.0-alpha06 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha06-এ এই কমিটগুলি রয়েছে।
Wear-Phone-Interactions সংস্করণ 1.0.0-alpha06
২১ জুলাই, ২০২১
androidx.wear:wear-phone-interactions:1.0.0-alpha06 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha06-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
-
BridgingManagerSeviceBinderক্লাস এখন Service এর একটি সাবক্লাস এবং এর নাম পরিবর্তন করে BridgingManagerSevice রাখা হয়েছে। ( I9fca2 ) - পদ্ধতি
RemoteAuthClient.Callback.onAuthorizationErrorপরিবর্তন করে OAuthRequest প্যারামিটার অন্তর্ভুক্ত করা হয়েছে। কলব্যাকের প্রয়োজন এমন পদ্ধতিতে এখন কলব্যাক চালানোর জন্য একজন এক্সিকিউটরেরও প্রয়োজন হয়। ( I35e11 )
বাগ ফিক্স
- আমরা আরও ডকুমেন্টেড প্যারামিটারের মাধ্যমে এবং যেখানে সম্ভব বৈশিষ্ট্য ব্যবহার করে প্রমাণীকরণ API আরও স্পষ্ট করে তুলেছি। ( I12287 )
Wear-Phone-Interactions সংস্করণ 1.0.0-alpha05
৩০ জুন, ২০২১
androidx.wear:wear-phone-interactions:1.0.0-alpha05 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha05-এ এই কমিটগুলি রয়েছে।
বাগ ফিক্স
-
BridgingConfig.Builderএর জন্য কনস্ট্রাক্টরে পাস করা উচিত এমন নথিভুক্ত প্যারামিটার।
ওয়্যার-অনগোয়িং ভার্সন 1.0.0-alpha06
২ জুন, ২০২১
androidx.wear:wear-ongoing:1.0.0-alpha06 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha06-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- চলমান কার্যকলাপে শিরোনাম ক্ষেত্র যোগ করুন। ( I7a405 )
বাগ ফিক্স
-
SerializationHelper.copy()এখন তথ্যের একটি প্রতিরক্ষামূলক কপি তৈরি করে ( I8b276 ) - উন্নত setCategory ডকুমেন্টেশন ( Iff01f )
ওয়্যার-অনগোয়িং ভার্সন 1.0.0-alpha05
১৮ মে, ২০২১
androidx.wear:wear-ongoing:1.0.0-alpha05 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha05-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
OngoingActivityকাছে এখন বিল্ডারের মাধ্যমে সরাসরি সেট করা সমস্ত মান (অথবা সংশ্লিষ্ট বিজ্ঞপ্তি থেকে নেওয়া ডিফল্ট) পুনরুদ্ধার করার সুবিধা রয়েছে। ( Id8ac8 )- নতুন ক্লাস
StatusএখনOngoingActivityএর স্ট্যাটাস তৈরি করতে ব্যবহৃত হয়। -
OngoingActivityDataএবংOngoingActivityStatusআর পাবলিক API-এর অংশ নয়।
- নতুন ক্লাস
TextStatusPartএবংTimerStatusPartক্লাসগুলি আর পাবলিক API-এর অংশ নয়। ( I57fb6 )- স্ট্যাটিক টেক্সট দিয়ে একটি
Partতৈরি করতে,Status.TextPartব্যবহার করুন। - স্টপওয়াচ দিয়ে একটি
Partতৈরি করতে (গণনা করে),Status.Stopwatchব্যবহার করুন। - টাইমার (গণনা) দিয়ে একটি
Partতৈরি করতে,Status.Timerব্যবহার করুন।
- স্ট্যাটিক টেক্সট দিয়ে একটি
ওয়্যার-অনগোয়িং ভার্সন 1.0.0-alpha04
৫ মে, ২০২১
androidx.wear:wear-ongoing:1.0.0-alpha04 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha04-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- OngoingActivity-তে, fromExistingOngoingActivity পদ্ধতিগুলিকে এখন recoverOngoingActivity বলা হয়।
- OngoingActivity-তে এখন সম্পূর্ণ গেটার সেট রয়েছে, যা আগে শুধুমাত্র OngoingActivityData-তে পাওয়া যেত। ( I0ee4d )
ওয়্যার-রিমোট-ইন্টারঅ্যাকশন সংস্করণ 1.0.0-alpha05
২১ জুলাই, ২০২১
androidx.wear:wear-remote-interactions:1.0.0-alpha05 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha05-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
আমরা
RemoteIntentHelperক্লাস (পূর্বে Wearable Support Library-এ RemoteIntent) যোগ করেছি যা অন্যান্য ডিভাইসে (অর্থাৎ ঘড়ি থেকে ফোনে) ইন্টেন্ট খোলার জন্য ব্যবহার করা যেতে পারে। ( I1d7e0 )PlayStoreAvailability ক্লাসটি AndroidX লাইব্রেরি থেকে সরিয়ে ফেলা হয়েছে। সংযুক্ত ফোনে Play Store উপলব্ধ কিনা তা সনাক্ত করতে,
androidx.phone.interactions.PhoneTypeHelper.getPhoneDeviceTypeপদ্ধতি ব্যবহার করে সংযুক্ত ফোনটি একটি Android ফোন কিনা তা নির্ধারণ করুন। তারপরandroidx.wear.utils.WearTypeHelper.isChinaDeviceপদ্ধতি ব্যবহার করে সংযুক্ত ফোনটি একটি চীনা ডিভাইস কিনা তা নির্ধারণ করুন। যদি ফোনটি একটি Android ফোন হয় এবং যদি এটি একটি চীনা ডিভাইস না হয় তবে Play Store উপলব্ধ থাকবে। ( Ie7dec )
Wear-Phone-Interactions সংস্করণ 1.0.0-alpha04
৭ এপ্রিল, ২০২১
androidx.wear:wear-phone-interactions:1.0.0-alpha04 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha04-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- নতুন লাইব্রেরিটিকে ওয়্যারেবল সাপোর্ট লাইব্রেরিতে বাস্তবায়নের সাথে সামঞ্জস্যপূর্ণ করার জন্য
ErrorCodeধ্রুবকগুলি আপডেট করা হয়েছে।
বাগ ফিক্স
- OAuth সেশন শুরু করার সময় নতুন OAuth API এর কারণে সৃষ্ট ব্যতিক্রম সংশোধন করা হয়েছে।
ওয়্যার-রিমোট-ইন্টারঅ্যাকশন সংস্করণ 1.0.0-alpha03
৭ এপ্রিল, ২০২১
androidx.wear:wear-remote-interactions:1.0.0-alpha03 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha03-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
-
PlayStoreAvailabilityকে এমন একটি ক্লাসে পরিবর্তন করা হয়েছে যেখানে স্ট্যাটিক পদ্ধতি সহ কম্প্যানিয়ন অবজেক্ট রয়েছে। ব্যবহার একই থাকে।
বাগ ফিক্স
-
WatchFaceConfigIntentHelperজন্য সংশোধন করা সারাংশ ডক যাতে প্রকৃত HTML অক্ষর সহ নমুনা কোড সঠিকভাবে দেখানো যায়।
Wear-Ongoing Wear-Phone-Interactions সংস্করণ 1.0.0-alpha03
১০ মার্চ, ২০২১
androidx.wear:wear-ongoing:1.0.0-alpha03 এবং androidx.wear:wear-phone-interactions:1.0.0-alpha03 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha03-এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
- Wearable Support Library থেকে AndroidX-এ OAuthClient মাইগ্রেট করুন। এই মাইগ্রেটেড ক্লাসটির নাম পরিবর্তন করে RemoteAuthClient রাখা হয়েছে এবং এটি Wearables-এ রিমোট অথেনটিকেশনের জন্য সমর্থন প্রদান করে এবং OAuth PKCE এক্সটেনশন যোগ করার জন্য সমর্থন প্রদান করে। যোগাযোগের জন্য অতিরিক্ত হ্যান্ডলার এবং হেল্পার ক্লাস প্রদান করা হয়েছে।
- নতুন OngoingActivity.Builder কনস্ট্রাক্টর ব্যবহার করে চলমান কার্যকলাপগুলিকে এখন একটি ট্যাগযুক্ত বিজ্ঞপ্তির সাথে যুক্ত করা যেতে পারে।
API পরিবর্তনগুলি
- চলমান কার্যকলাপ লাইব্রেরিতে ( I653b4 ) বিজ্ঞপ্তি ট্যাগের জন্য সমর্থন যোগ করা হয়েছে।
- Wear Support Library থেকে AndroidX-এ OAuthClient মাইগ্রেট করুন এবং OAuth PKCE এক্সটেনশনের জন্য সমর্থন যোগ করুন ( I3eaaa )
ওয়্যার-রিমোট-ইন্টারঅ্যাকশন সংস্করণ 1.0.0-alpha02
১০ মার্চ, ২০২১
androidx.wear:wear-remote-interactions:1.0.0-alpha02 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha02-এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
- PlayStoreAvailability ক্লাসটি Wearable Support Library থেকে AndroidX-এ স্থানান্তর করা যা ফোনে Play Store উপলব্ধ কিনা তা পরীক্ষা করার জন্য একটি API প্রদান করে।
বাগ ফিক্স
- PlayStoreAvailability ক্লাসটি Wearable Support Library থেকে AndroidX-এ স্থানান্তর করা হচ্ছে। ( I69bfe )
সংস্করণ 1.0.0-alpha02
১০ ফেব্রুয়ারী, ২০২১
androidx.wear:wear-ongoing:1.0.0-alpha02 এবং androidx.wear:wear-phone-interactions:1.0.0-alpha02 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha02-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- আরও জটিল স্ট্যাটাসের জন্য অতিরিক্ত সমর্থন। এগুলি একটি টেমপ্লেট (অথবা একাধিক) এবং টেমপ্লেটের স্থানধারক পূরণ করতে ব্যবহৃত অংশগুলির একটি সিরিজ দিয়ে তৈরি। OngoingActivityStatus-এ এখন একটি স্ট্যাটিক পদ্ধতি রয়েছে যা কেবলমাত্র একটি অংশ (একটি টেক্সট বা একটি টাইমার) দিয়ে সহজ স্ট্যাটাস তৈরি করে, এবং আরও জটিল স্ট্যাটাস তৈরি করে একটি বিল্ডার। ( I1fe81 )
- Wear Support Library থেকে BridgingManager এবং BridgingConfig ক্লাসগুলিকে AndroidX-এ সরান যা রানটাইমে বিজ্ঞপ্তিগুলি সক্ষম/অক্ষম করার জন্য API প্রদান করে এবং ঐচ্ছিকভাবে ব্রিজিং মোড থেকে মুক্ত বিজ্ঞপ্তিগুলির জন্য ট্যাগ সেট করে। ( I3a17e )
সংস্করণ 1.0.0-alpha01
২৭ জানুয়ারী, ২০২১
androidx.wear:wear-ongoing:1.0.0-alpha01 , androidx.wear:wear-phone-interactions:1.0.0-alpha01 , এবং androidx.wear:wear-remote-interactions:1.0.0-alpha01 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha01-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
চলমান ক্রিয়াকলাপ লাইব্রেরিটি একটি নতুন উপ-লাইব্রেরিতে স্থানান্তর করুন: wear-ongoing। ক্লাসগুলি এখন androidx.wear.ongoing প্যাকেজে লাইভ (পূর্বে androidx.wear.ongoingactivities ছিল) ( I7c029 )
Wearables থেকে ফোনে ইন্টারঅ্যাকশন সমর্থন করে এমন ক্লাস ধারণ করার জন্য একটি নতুন সাপোর্ট লাইব্রেরি তৈরি করুন। এটি প্রাথমিকভাবে Wearable Support Library থেকে স্থানান্তরিত ক্লাস দিয়ে পূর্ণ করা হবে। ( Id5180 )
PhoneDeviceType ক্লাসটি Wearable Support Library থেকে AndroidX-এ মাইগ্রেট করুন। মাইগ্রেট করা ক্লাসটির নাম পরিবর্তন করে PhoneTypeHelper রাখা হয়েছে যা বর্তমান ঘড়িটি কোন ধরণের ফোনের সাথে যুক্ত করা হয়েছে তা নির্ধারণের জন্য সহায়ক পদ্ধতি প্রদান করে, শুধুমাত্র Wearable ডিভাইসে ব্যবহারের জন্য। ( Ibd947 )
Wearables এবং ফোনের মধ্যে ইন্টারঅ্যাকশন সমর্থন করে এমন ক্লাস ধারণ করার জন্য একটি নতুন সাপোর্ট লাইব্রেরি তৈরি করুন। এটি প্রাথমিকভাবে Wearable Support Library থেকে স্থানান্তরিত ক্লাস দিয়ে পূর্ণ করা হবে। ( I9deb4 )
Wearable Support Library থেকে AndroidX-এ WatchFaceCompanion ক্লাস মাইগ্রেট করুন। মাইগ্রেট করা ক্লাসটির নাম পরিবর্তন করে WatchFaceConfigIntentHelper রাখা হয়েছে যা ফোনের companion-এ ওয়াচ ফেস কনফিগারেশন অ্যাক্টিভিটিতে আইডি এবং কম্পোনেন্টের নাম নির্দিষ্ট করার জন্য সহায়ক ফাংশন প্রদান করে, এটি স্থানীয়ভাবে পরিধেয় ডিভাইসে ওয়াচ ফেস কনফিগার করার জন্যও ব্যবহার করা যেতে পারে। ( Ia455f )
Wear Complications and Watchface এর পুরানো সংস্করণ
সংস্করণ 1.0.0-alpha22
১৫ সেপ্টেম্বর, ২০২১
androidx.wear:wear-*:1.0.0-alpha22 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha22-এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
- এডিটরসেশন এখন লাইফসাইকেল অবজারভার সাবস্ক্রাইব করে, তাই আপনার অ্যাক্টিভিটি বন্ধ হয়ে গেলে আপনাকে আর এটি স্পষ্টভাবে বন্ধ করতে হবে না।
API পরিবর্তনগুলি
- EditorSession এবং ListenableEditorSession এখন জটিলতার জন্য kotlin StateFlows ব্যবহার করেSlotsState, ComplicationsPreviewData এবং ComplicationsDataSourceInfo। ( I761d9 )
- EditorSession#userStyle এখন একটি
MutableStateFlow<UserStyle>( I32ca9 ) - EditorSession.createOnWatchEditorSession এখন একটি লাইফসাইকেল অবজারভার ব্যবহার করে এবং onDestroy পর্যবেক্ষণ করলে এটি স্বয়ংক্রিয়ভাবে বন্ধ হয়ে যায়। এছাড়াও
createOnWatchEditorSessionএখন কেবল অ্যাক্টিভিটিটি পাস করতে হবে। ListenableEditorSession-এও একই রকম পরিবর্তন প্রয়োগ করা হয়েছে। ( Ic6b7f ) - CustomValueUserStyleSetting এর কনস্ট্রাক্টর পাবলিক API এর অংশ হিসেবে পুনঃস্থাপন করা হয়েছে। ( I2e69a )
-
UserStyleএখনMap<UserStyleSetting, UserStyleSetting.Option>এবংMutableUserStyleSetting#putথেকে উত্তরাধিকারসূত্রে পায় যদি সেটিংটি স্কিমায় না থাকে অথবা অপশনটি সেটিংটির সাথে মেলে না, তাহলে IllegalArgumentException থ্রো করে। ( Iba40f )
সংস্করণ 1.0.0-alpha21
১ সেপ্টেম্বর, ২০২১
androidx.wear:wear-*:1.0.0-alpha21 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha21-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- সকল পাবলিক ওয়াচফেস, ক্লায়েন্ট, এডিটর এবং কমপ্লিকেশন এপিআই এখন লং এর পরিবর্তে জাভা.টাইম.ইনস্ট্যান্ট ফর টাইমস ব্যবহার করে, ফলস্বরূপ সর্বনিম্ন এপিআই লেভেল ২৬-এ উন্নীত হয়েছে। ( I3cd48 )
- ওয়াচফেস এবং জটিলতা API গুলি এখন ক্যালেন্ডারের পরিবর্তে অপরিবর্তনীয় ZonedDateTime ব্যবহার করে। ( I25cf8 )
- ComplicationSlots এখন NoDataComplicationData দিয়ে শুরু করা হয়েছে, ComplicationSlot.complicationData এর এখন সর্বদা একটি মান থাকে এবং CanvasComplicationDrawable.complicationData আর বাতিলযোগ্য নয়। ( I4dfd6 ) এটি ঘড়ির মুখগুলির মধ্যে স্যুইচ করার সময় জটিলতা ঝিকিমিকি কমায় (কিন্তু দূর করে না)।
সংস্করণ 1.0.0-alpha20
১৮ আগস্ট, ২০২১
androidx.wear:wear-*:1.0.0-alpha20 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha20-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- আমরা ComplicationDataSourceInfo তে createFallbackPreviewData যোগ করেছি যা ComplicationDataSourceInfoRetriever.retrievePreviewComplicationData null রিটার্ন করলে ব্যবহার করা যেতে পারে। ( I38c4d )
- ইউনিট পরীক্ষায় মকিং করার জন্য ComplicationDataSourceUpdateRequester কে একটি ইন্টারফেসে রূপান্তরিত করা হয়েছে। ComplicationDataSourceUpdateRequester.create() ব্যবহার করে আপনি একটি নির্দিষ্ট ComplicationDataSourceUpdateRequester তৈরি করতে পারেন। ( I7da22 )
- RenderParameters.pressedComplicationSlotIds-এর পরিবর্তে RenderParameters.lastComplicationTapDownEvents ব্যবহার করা হয়েছে যা নতুন TapEvent ক্লাস প্রকাশ করে যেখানে পিক্সেলে ট্যাপের x, y স্থানাঙ্কের ট্রিপল এবং একটি টাইম স্ট্যাম্প রয়েছে।
WatchFace.TapListener.onTapএর পরিবর্তেonTapEvent(@TapType tapType: Int, tapEvent: TapEvent)ব্যবহার করা হয়েছে। এছাড়াও,InteractiveWatchFaceClient.displayPressedAnimationঅপসারণ করা হয়েছে। ( Id87d2 ) - setImportantForAccessibility ( I990fa ) এর জন্য স্পষ্ট থ্রেডিং অ্যানোটেশন যোগ করা হয়েছে।
- ComplicationSlotBoundsType androidx-wear-watchface-এ সরানো হয়েছে।Wear/wear-watchface-এ ComplicationSlotBoundsType। ( I09420 )
- আমরা UserStyleSetting এবং Options-এ স্ট্রিং রিসোর্স আইডি পাস করার জন্য সমর্থন যোগ করেছি। এখন এই অবজেক্টগুলি তৈরি করার জন্য এটিই প্রস্তাবিত উপায়। ( I03d5f )
- UserStyle স্কিমার সর্বোচ্চ তারের আকারের উপর সীমা আরোপ করা হয়েছে। এছাড়াও স্কিমার আইকনগুলি 400x400 পিক্সেলের চেয়ে বড় হওয়া উচিত নয়। ( I3b65b )
- UserStyle ইনস্ট্যান্সে পরিবর্তনগুলি সমর্থন করার জন্য আমরা একটি MutableUserStyle ক্লাস যুক্ত করেছি ( I95a40 )
- আমরা
ListenableWatchFaceMetadataClient.Companion#listenableCreateWatchFaceMetadataClientএর নাম পরিবর্তন করেListenableWatchFaceMetadataClient.Companion#createListenableWatchFaceMetadataClientকরেছি। ( I64ce2 ) - আমরা EditorState.previewComplicationsData পরিবর্তন করে শুধুমাত্র সক্রিয় জটিলতার জন্য ডেটা ধারণ করেছি, এবং আমরা
EditorSession.DEFAULT_PREVIEW_TIME_MILLISযোগ করেছি যাrenderWatchFaceToBitmapবাPreviewScreenshotParamsএ পাস করলে ওয়াচফেসের ডিফল্ট প্রিভিউ সময়ের সাথে রেন্ডারিংয়ের অনুরোধ করে। ( If7b3c ) - আমরা পাবলিক API থেকে CharSequence গ্রহণকারী UserStyleSetting কনস্ট্রাক্টরগুলি সরিয়ে ফেলেছি। এর পরিবর্তে StringResource ID প্রয়োজন এমন কনস্ট্রাক্টরগুলি ব্যবহার করার পরামর্শ দেওয়া হচ্ছে। ( I8537b )
-
CurrentUserStyleRepository.UserStyleChangeListenerএখন SAM রূপান্তর সমর্থন করে। ( I85989 )
সংস্করণ 1.0.0-alpha19
৪ আগস্ট, ২০২১
androidx.wear:wear-*:1.0.0-alpha19 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha19-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- আমরা
ListenableWatchFaceMetadataClient.listenableCreateWatchFaceMetadataClientযোগ করেছি যাWatchFaceMetadataClient.createWatchFaceMetadataClientএর জন্য একটিListenableFutureর্যাপার প্রদান করে। ( I5fa37 ) -
UserStyleOption.getOptionForIdএখন বাইট অ্যারের পরিবর্তেUserStyleOption.Idগ্রহণ করে। ( I469be ) -
BooleanOption.TRUEএবংBooleanOption.FALSEধ্রুবক প্রদান করুন এবং ইনস্ট্যান্স তৈরির অনুমতি দিন না ( I46e09 ) - wear-watchface-client-এ RemoteException থ্রো করতে পারে এমন পদ্ধতিগুলি এখন সেই অনুযায়ী টীকা করা হয়েছে। ( Ib8438 )
- ধারাবাহিকতার জন্য আমরা
EditorSession.createOnWatchEditingSessionএর নাম পরিবর্তন করেcreateOnWatchEditorSessionকরেছি, একইভাবেcreateHeadlessEditingSessionএখনcreateHeadlessEditorSessionহয়েছে। তাদের পেয়ারার মোড়কগুলিরও নাম পরিবর্তন করা হয়েছে। ( I1526b ) -
EditorSessionএখন একটি ইন্টারফেস এবংListenableEditorSession.commitChangesOnCloseএখন সঠিকভাবে অর্পণ করা হয়েছে। ( I7dc3e ) - আমরা এখন এমন যেকোনো ব্যবহারকারী স্টাইল স্কিমা প্রত্যাখ্যান করছি যার সেটিংস বা বিকল্পগুলি পরস্পরবিরোধী আইডি সহ ( Ic2715 )
- আমরা একটি ওভারলোডেড
UserStyle.getযোগ করেছি যাUserStyleSetting.Idগ্রহণ করে। ( I2aa0f )
সংস্করণ 1.0.0-alpha18
২১ জুলাই, ২০২১
androidx.wear:wear-*:1.0.0-alpha18 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha18-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- আমরা
ComplicationHelperActivityকেandroidx.wear:wear-watchfaceলাইব্রেরিতে স্থানান্তর করেছি। ( I39e76 ) - ধারাবাহিকতা এবং স্পষ্টতার জন্য,
ComplicationProviderনাম পরিবর্তন করেComplicationDataSourceরাখা হয়েছে এবং Provider নামে থাকা সকল ক্লাসের নাম একইভাবে পরিবর্তন করা হয়েছে। ( Iaef0b ) -
CanvasComplication.isHighlightedhas been moved intoRenderParameters.pressedComplicationSlotIdsthis is a step towards makingCanvasComplicationstateless. To support this changeCanvasComplication.rendernow also takes theslotIdas a parameter and we now pass theComplicationSlotintoGlesTextureComplication. ( I50e6e ) - We have added
headlessDeviceConfigtoEditorRequest, if non null this parameter is used to construct a headless instance to back the EditorSession rather than acting on the interactive instance. This allows the editor to be invoked for a watch face that isn't the current one. ( I0a820 ) - We've added an experimental
WatchFaceMetadataClientwhich allows efficient retrieval of static watch face metadata such as theUserStyleSchemaand fixed details aboutComplicationSlots. ( I6bfdf ) - We have renamed
CanvasRenderer.uiThreadInitto init. ( I6fff9 ) - We've added PreviewScreenshotParams an optional new parameter for EditorRequest which instructs EditorSession to take a preview screenshot on commit with these parameter. The preview image is exposed on
EditorState.previewImage. ( Ic2c16 )
বাগ ফিক্স
- Developers no longer need to add ComplicationHelperActivity to their own manifest. ( I6f0c2 )
Version 1.0.0-alpha17
৩০ জুন, ২০২১
androidx.wear:wear-*:1.0.0-alpha17 is released. Version 1.0.0-alpha17 contains these commits.
নতুন বৈশিষ্ট্য
In
GlesRenderer,makeUiThreadContextCurrentandmakeBackgroundThreadContextCurrenthave been replaced byrunUiThreadGlCommandsandrunBackgroundThreadGlCommandswhich both accept aRunnable. The library ensures that only one GL command runnable is executing at any given time.To make UiThread initialziaion easier we've added
CanvasRenderer.uiThreadInitwhich is called once on the UiThread before any calls to render. We've also addedonRendererCreatedtoCanvasComplicationwhich makes it easier forRendererandCanvasComplicationto share state.For clarity we have renamed
ComplicationtoComplicationSlotandcomplicationIdto eithercomplicationSlotIdorcomplicationInstanceIddepending on usage
API পরিবর্তনগুলি
- For clarity we have renamed
ComplicationtoComplicationSlotandcomplicationIdto eithercomplicationSlotIdorcomplicationInstanceIddepending on usage. Classes using Complication have similarly been renamed eg ComplicationsManager is now called ComplicationSlotsManager. ( I4da44 ) - In GlesRenderer
makeUiThreadContextCurrentandmakeBackgroundThreadContextCurrenthave been replaced byrunUiThreadGlCommandsandrunBackgroundThreadGlCommandswhich both accept aRunnable. These functions are only needed if you need to make GL calls outside of render,runBackgroundThreadGlCommandsandonUiThreadGlSurfaceCreated. This is required because there can be multiple GlesRenderers each with their own contexts in the same process, potentially from different watch faces. In addition access to the shared current GL context is now synchronized. ( I04d59 ) - We have added
CanvasRenderer.uiThreadInitwhich is called once on the UiThread before any calls to render. Also for clarity in GlesRenderer we have renamedonGlContextCreatedtoonBackgroundThreadGlContextCreated, andonGlSurfaceCreatedtoonUiThreadGlSurfaceCreated. ( If86d0 ) -
HeadlessWatchFaceClient&InteractiveWatchFaceClientgetComplicationsSlotStatehas been renamed togetComplicationSlotsState. InComplicationSlot:createRoundRectComplicationBuilder,createBackgroundComplicationBuilder, andcreateEdgeComplicationBuilderhave been renamed tocreateRoundRectComplicationSlotBuilder,createBackgroundComplicationSlotBuilder, andcreateEdgeComplicationSlotBuilderrespectively. ( Ib9adc ) - We have added onRendererCreated to CanvasComplication which makes it easier for Renderer and CanvasComplication to share state. ( I5e1ac )
Version 1.0.0-alpha16
১৬ জুন, ২০২১
androidx.wear:wear-*:1.0.0-alpha16 is released. Version 1.0.0-alpha16 contains these commits.
নতুন বৈশিষ্ট্য
- We've fixed a number of bugs related to the recent threading model changes as well as addressing other issues with the on watch face editor.
বাগ ফিক্স
- Prevent NPE in
onComplicationProviderChooserResult( b/189594557 ) - Fix issues with stale surfaces and drawBlack ( b/189452267 )
- Fix race in accessing
complicationsManager.watchState( b/189457893 ) - Fix background thread lifetime bug ( b/189445428 )
- Fix Pre-R Watch face Editor issues ( b/189126313 )
- Don't update direct boot params for editor style changes ( b/187177307 )
Version 1.0.0-alpha15
২ জুন, ২০২১
androidx.wear:wear-*:1.0.0-alpha15 is released. Version 1.0.0-alpha15 contains these commits.
নতুন বৈশিষ্ট্য
The majority of watch face initialization is now done on a background thread, however after loading all watch face rendering etc is done on the UiThread. There is a memory barrier between loading and rendering so most user watch faces don't need to do anything special. Watch faces using GLES may be an exception since the context is thread specific and we create two linked contexts so it's possible to upload GL resources (eg textures and shaders) on the background thread and use them on the UiThread.
We have split the construction of watchfaces into three functions: createUserStyleSchema, createComplicationsManager and createWatchFace. We assume that createUserStyleSchema and createComplicationsManager are fast and createWatchFace may take some time to load assets. Taking advantage of this we have introduced WatchFaceControlClient.getDefaultProviderPoliciesAndType which returns a map of Complication Ids to DefaultComplicationProviderPolicies and the default ComplicationType. This is faster than creating a headless instance since it doesn't need to fully initialize the watch face to perform the query.
Finally complications are now constructed with a CanvasComplicationFactory which allows for lazy construction of the CanvasComplication renderers.
API পরিবর্তনগুলি
- Replaced
@TargetApiwith@RequiresApi. ( I0184a , b/187447093 , b/187447094 ) - We have introduced
WatchFaceControlClient.getDefaultProviderPoliciesAndTypewhich returns a map of Complication Ids to DefaultComplicationProviderPolicies and the default ComplicationType. Where possible a fast path is used that avoids fully constructing a watch face. To facilitate this the WatchFaceService API has had to change with two new methods being: createUserStyleSchema and createComplicationsManager the results of which are passed into createWatchFace. In addition Complications are now constructed with a CanvasComplicationFactory which allows for lazy construction of the CanvasComplication renderers. ( Iad6c1 ) - We have removed MOST_RECENT_APP from SystemProviders. ( I3df00 )
- ObservableWatchData is now a sealed class. ( Ic940d )
- CanvasComplicationFactory.create (which is typically io bound) is now called on a background thread for each complication before ui thread rendering commences. There is a memory barrier between construction and rendering so no special threading primitives are required. ( Ia18f2 )
- Watchface construction is now done on a background thread although all rendering is done on the ui thread, GlesRenderer supports two linked contexts to support this. WatchFaceControlClient.createHeadlessWatchFaceClient and WatchFaceControlClient.getOrCreateInteractiveWatchFaceClient may resolve before WatchFaceService.createWatchFace has completed. Subsequent API calls will block until watchFace initialization has completed. ( Id9f41 )
- EXPANSION_DP and STROKE_WIDTH_DP are no longer visible in api.txt. ( I54801 )
- We have made EditorSession.createOnWatchEditingSession throw TimeoutCancellationException if there's an error instead of sending a null session. Additionally, the return value of EditorRequest.createFromIntent and EditorSession.createOnWatchEditingSession is now NonNull. ( I41eb4 )
Version 1.0.0-alpha14
১৮ মে, ২০২১
androidx.wear:wear-*:1.0.0-alpha14 is released. Version 1.0.0-alpha14 contains these commits.
নতুন বৈশিষ্ট্য
-
EditorSession.openComplicationProviderChoosernow returns ChosenComplicationProvider which contains the complication id,ComplicationProviderInfoand a Bundle containing any additional extras returned by the provider chooser. - In addition we have been steadily migrating code to Kotlin and the majority of the watch face API is now defined in Kotlin.
API পরিবর্তনগুলি
- GlesRenderer properties
eglContextandeglDisplayare now non-nullable. Any GL errors are now reported viaGlesRenderer.GlesExceptionrather than via RuntimeExceptions. ( Ib1005 ) - We have migrated
androidx.wear.watchface.complications.rendering.ComplicationDrawablefrom Java to Kotlin ( Ibc3eb ) - We have migrated
androidx.wear.watchface.complications.rendering.ComplicationStylefrom Java to Kotlin ( I3375e ) - We added information about the complication provider for each complication within EditorSession. ( I37f14 )
- We extended the result of
EditorSession.openComplicationProviderChooserto include information returned by the chosen. ( Iead6d )
Wear Complications & Watchface Version 1.0.0-alpha13
৫ মে, ২০২১
androidx.wear:wear-*:1.0.0-alpha13 is released. Version 1.0.0-alpha13 contains these commits.
নতুন বৈশিষ্ট্য
Watch faces can have important visual elements beyond showing the time and complications. To provide screen reader support for this, watchface can now specify accessibility ContentDescriptionLabels via the Renderer's additionalContentDescriptionLabels property. In addition, to control the ordering of ContentDescriptionLabels accessibilityTraversalIndex has been added to complications. This can be modified by a ComplicationsUserStyleSetting.
To encourage developers to carefully consider screen readers we have made
ShortTextComplicationData.Builder's,LongTextComplicationData.Builder's andRangedValueComplicationData.Builder'scontentDescriptionfield mandatory to be passed into their constructors. IfComplicationText.EMPTYis passed in for thecontentDescription, acontentDescriptionwill be automatically generated from the text and title.WatchFaceControlClient.getOrCreateInteractiveWatchFaceClientnow throwsServiceStartFailureExceptionif the watchface throws an exception during init, this makes it much easier to diagnose issues during watch face startup.
API পরিবর্তনগুলি
- We added support for having a null component name in ComplicationProviderInfo, which is needed to support older versions of Wear OS. ( I744d2 )
- We have migrated
androidx.wear.complications.SystemProvidersfrom Java to Kotlin. ( Ia1f8b ) - We have hidden all classes from public API that are in android.support.wearable.complications and created corresponding wrappers in AndroidX where needed. ( I7bd50 )
- We have renamed method in
TimeDifferenceComplicationText.BuilderfromsetMinimumUnittosetMinimalTimeUnit. ( I20c64 ) - We have made
ShortTextComplicationData.Builder's,LongTextComplicationData.Builder's andRangedValueComplicationData.Builder'scontentDescriptionfield mandatory to be passed in constructor. ( I8cb69 ) - We have renamed ComplicationProviderService.onComplicationUpdate to onComplicationRequest and encapsulated id and type parameter of this method into data ComplicationRequest. Corresponding listener has been renamed to ComplicationRequestListener and its method ComplicationRequestListener.onComplicationData. ( Iaf146 )
- We have removed method
isActiveAtfromComplicationDataand exposed fieldvalidTimeRangeinstead of it. This method call can be replaced withvalidTimeRange.contains. ( I65936 ) - We have changed description of the method ComplicationProviderService.onComplicationActivated to receive a ComplicationType instead of an int. ( Idb5ff )
- Migrated ProviderUpdateRequester from Java to Koltin. ( Ibce13 )
- GlesRender.makeContextCurrent is now public. Watch face code may need to make gl calls outside of render and onGlContextCreated and because there may be both an interactive and a headless context its necessary to call this. ( I8a43c )
- WatchFaceControlClient.getOrCreateInteractiveWatchFaceClient now throws ServiceStartFailureException if the watchface throws during init. In addition WatchFaceService now throws an exception if createWatchFace takes longer than 6 seconds. ( I59b2f )
- We have removed the unused id property of
GlesTextureComplication. ( I28958 ) - The watchface can now specify accessibility ContentDescriptionLabels via the
Renderer's additionalContentDescriptionLabels property. In addition to controlling the ordering of ContentDescriptionLabels accessibilityTraversalIndex has been added to complications. This can be modified by a ComplicationsUserStyleSetting. ( Ib7362 ) - Expand documentation about touch event handling in the watch face. ( Iaf31e )
বাগ ফিক্স
-
EditorSession.getComplicationsPreviewData()now returns a map for every rather only non-empty complications. An instance of EmptyComplicationData is used for empty complications. ( I1ef7e )
Wear Complications & Watchface Version 1.0.0-alpha12
২১ এপ্রিল, ২০২১
androidx.wear:wear-*:1.0.0-alpha12 is released. Version 1.0.0-alpha12 contains these commits.
নতুন বৈশিষ্ট্য
Watch face editors need to highlight parts of the watch face to help convery which aspect of a watch is being configured. We've extended RenderParameters to allow styles as well as complications to be highlighted. There's a new optional HighlightLayer which is intended to be matted on top of the watch face with alpha transparency (the screenshot apis can do this matting for you, or provide the HighlightLayer on its own for maximum flexibility). Eg suppose you had a style that lets you configure the appearance of the watch hands, your renderer in its renderHighlightLayer can draw an outline around them.
To encourage Complication Provider support for accessibility we have made PhotoImageComplicationData.Builder's, MonochromaticImageComplicationData.Builder's and SmallImageComplicationData.Builder's contentDescription field to be a mandatory constructor argument. ComplicationTapFilter and Complication.createEdgeComplicationBuilder have been added to support edge complications (drawn around the edge of the screen). Rendering and hit testing of edge complications is left up to the watch face. Edge hit testing isn't supported from the companion editor.
API পরিবর্তনগুলি
- Added
PROVIDER_prefix to constants in SystemProviders. ( I1e773 ) - We have made
PhotoImageComplicationData.Builder's,MonochromaticImageComplicationData.Builder's andSmallImageComplicationData.Builder'scontentDescriptionfield mandatory to be passed in constructor. ( I9643a ) -
ProviderInfoRetriever.requestPreviewComplicationDatahas been renamed toretrievePreviewComplicationData. ( I911ee ) - Migrated
ComplicationProviderServicefrom Java to Koltin. ( I849f2 ) - Method
ComplicationProviderService.onBindis now final ( I39af5 ) - We've reinstated interface
CanvasComplicationand movedCanvasComplicaitonDrawable,GlesTextureComplicationandComplicationHighlightRenderertowear-watchface-complications-rendering. ( I84670 ) -
RenderParametershas been refactored to support extended highlight rendering. It's now possible to request rendering of highlights for styles as well as all or a single complication. In addition CanvasRenderer and GlesRenderer how have a new abstract renderHighlightLayer method for rendering any highlighting requested by the editor. Layer has been renamed to WatchFaceLayer. ( Ic2444 ) -
ComplicationTapFilterandComplication.createEdgeComplicationBuilderhave been added to support edge complications. Rendering and hit testing of edge complications is left up to the watch face. Hit testing isn't supported from within editors. ( Ia6604 ) - For
DoubleRangeUserStyleSetting&LongRangeUserStyleSetting:defaultValue,maximumValueandminimumValueare now kotlin properties. In addition,UserStyleSetting.Optionfunctions like toBooleanOption, toCoplicationOptions, toListOption and similar have been removed. ( I52899 ) - Add chin size to the properties of the device available to the watch face. ( I76e1e )
-
ComplicationHighlightRenderer's constructor now acceptsoutlineExpansionandoutlineStrokeWidthparameters. ( I87009 ) -
ComplicationDrawable.getNoDataTextis now part of the public API. ( I00598 )
Version 1.0.0-alpha11
৭ এপ্রিল, ২০২১
androidx.wear:wear-*:1.0.0-alpha11 is released. Version 1.0.0-alpha11 contains these commits.
নতুন বৈশিষ্ট্য
- More polish has been applied to the watch face APIs. Most of the changes are simple renamings but
InteractiveWatchFaceWcsClientandInteractiveWatchFaceSysUiClienthave been merged intoInteractiveWatchFaceClient.
API পরিবর্তনগুলি
- ContentDescriptionLabel.text is now a ComplicationText rather than the old wearable support library TimeDependentText. ( I80c03 )
-
SystemProviders.GOOGLE_PAYis not guaranteed to be present on all Android R devices so it has been removed from the list. It's still possible to use this provider viaDefaultComplicationProviderPolicy( If01b5 ) - We've renamed ComplicationUpdateCallback to ComplicationUpdateListener for consistency. ( I61ec7 )
- The UserStyle wire format map has been changed to
Map<String, byte[]>and for convenience aUserStyleDataclass has been added to the public API and is now used by wear-watchface-client and wear-watchface-editor. In addition CustomValueUserStyleSetting.CustomValueOption.value is nowbyte[]instead ofString. ( Iaa103 ) -
UserStyleSettingandUserStyleSetting.Optionnow useUserStyleSetting.IdandUserStyleSetting.Option.Idrespectively to store their ids rather than a String. ( I63f72 ) -
InteractiveWatchFaceClient.SystemStatehas been renamed toWatchUiState. ( I6a4e0 ) -
InteractiveWatchFaceWcsClientandInteractiveWatchFaceSysUiClienthave been merged because it was hard to explain the division of responsibility ( Iff3fa ) - Layer enum values have been renamed for clarity.
Layer#TOP_LAYERis nowLayer#COMPLICATIONS_OVERLAYandLayer#BASE_LAYERis nowLayer#BASE( Ia144e ) -
UserStyleListenerhas been renamed toUserStyleChangeListener( I18524 ) -
UserStyleRepositoryhas been renamed toCurrentUserStyleRepository( I6ea53 ) -
InteractiveWatchFaceWcsClient.updateInstancehas been renamed toupdateWatchfaceInstance. ( I321dc ) - WatchFace TapType events have been renamed to align with MotionEvents / Compose. ( I0dfd0 )
- takeWatchfaceScreenshot has been renamed to renderWatchFaceToBitmap, and takeComplicationScreenshot has been renamed to renderComplicationToBitmap ( Ie0697 )
- The CanvasComplication interface has been removed in favor of the open class CanvasComplicationDrawable. ( I1f81f )
-
WatcfaceControlServiceFactoryhas been removed from the public api. ( I1f8d3 ) - We've renamed
CanvasComplication.setDatatoCanvasComplication.loadData. ( If1239 ) -
ComplicationsManager.bringAttentionToComplicationhas been renamed todisplayPressedAnimation. ( Ic4297 ) -
WatchFaceService.createWatchFacenow has an@UiThreadannotation. ( Ib54c2 ) - Changed the name of a CanvasComplicationDrawable parameter to fix a bug. ( I50dac )
- We've added
HeadlessWatchFaceClient.toBundle()andHeadlessWatchFaceClient.createFromBundleto support sendingHeadlessWatchFaceClientover AIDL. ( I07c35 ) - HeadlessWatchFaceClient and InteractiveWatchFaceClient now have ClientDisconnectListener and isConnectionAlive() to allow you to observe if the connection is broken for some reason (eg the watchface being killed). ( Ie446d )
-
WatchFaceControlClient#getOrCreateWallpaperServiceBackedInteractiveWatchFaceWcsClientAsyncis now a suspend function and has been renamed togetOrCreateInteractiveWatchFaceClient. ( Ib745d ) -
EditorState.commitChangesandhasCommitChanges()has been renamed toshouldCommitChanges(). ( I06e04 ) -
previewComplicationDatahas been renamed topreviewComplicationsDatato indicate theres (usually) more than one complication in the map. ( I56c06 ) -
InteractiveWatchFaceWcsClient.bringAttentionToComplicationhas been renamed todisplayPressedAnimationfor consistency withComplicationsManager.displayPressedAnimation. ( Ic9999 ) - All instances of watchface instance id have been encapsulated in a new WatchFaceId class ( I45fdf )
-
complicationStateproperty has been renamed tocomplicationsStateto indicate plurality. ( Ided07 ) - We've removed the various wear-watchface-client Binder conversions, they should be necessary. ( Icc4c0 )
- For consistency
EditorServiceClienthas been refactored to use listeners instead of observers. ( Iec3a4 ) - We've added a couple of missing
@Pxannotations toInteractiveWatchFaceSysUiClientandWatchFaceControlClient. ( I3277a ) - Renamed EditorObserverCallback to EditorObserverListener for consistency. ( Ie572d )
- EditorState.watchFaceInstanceId is restricted to Android R API level and above and is no longer nullable. ( Id52bb )
-
EditorSession.launchComplicationProviderChooserhas been renamed toopenComplicationProviderChooser. ( I9d441 ) -
EditorSession.createOnWatchEditingSessionAsynchas been renamed tocreateOnWatchEditingSessionand is now a suspend function. ( Id257b ) - Added several missing
@UiThreadannotations onEditorSession. ( I6935c ) -
UserStyleSetting.affectsLayershas been renamed toaffectedLayers. ( I6e22b )
Version 1.0.0-alpha10
২৪ মার্চ, ২০২১
androidx.wear:wear-*:1.0.0-alpha10 is released. Version 1.0.0-alpha10 contains these commits.
নতুন বৈশিষ্ট্য
- It's now possible to create open gl objects (eg textures) during WatchFaceService.createWatchFace because GlesRenderer now requires an explicit call to initOpenGLContext which can be done inside createWatchFace.
API পরিবর্তনগুলি
-
IdAndComplicationDatawas a bit awkward and has been removed from the public API. Classes & interfaces that used it have been refactored. ( I4c928 ) - We've replaced
ReferenceTimewithCountUpTimeReferenceandCountDownTimeReferencewhich are more self explanatory. ( Ib66c6 ) - Added some missing
@Pxand@ColorIntannotations. ( I9bbc3 ) -
Complication.complicationConfigExtrasis now non-nullable and defaults toBundle.EMPTY. ( Iad04f ) -
GlesRenderernow requires you to callinitOpenGLContextafter construction. This function was an internal detail but is now on the public API to allow GL calls earlier inside createWatchFace. ( I726c2 ) - We've removed
Complication.setRendereras it should not be needed. ( Ie992f ) -
Complicaiton.setComplicationBoundsis no longer part of the public API. If you need to adjust the position of a complication, this can be done viaComplicationsUserStyleSetting. ( Ibd9e5 ) -
ComplicationsManager.TapCallback.onComplicationSingleTappedhas been renamed toonComplicationTapped. ( I3a55c ) -
ComplicationOutlineRenderer.drawComplicationSelectOutlinehas been renamed todrawComplicationOutline. ( I14b88 )
Version 1.0.0-alpha09
১০ মার্চ, ২০২১
androidx.wear:wear-complications-*:1.0.0-alpha09 and androidx.wear:wear-watchface-*:1.0.0-alpha09 are released. Version 1.0.0-alpha09 contains these commits.
নতুন বৈশিষ্ট্য
- The interface between WCS/SysUI host and the on watch face has evolved. It's now possible for an editor to determine if a style change will enable or disable a complication (enabled = initiallyEnabled plus any override from ComplicationsUserStyleSetting). Also
EditorService.closeEditorallows SysUI to remotely close an on watch face editor if needed. - In addition
InteractiveWatchFaceWcsClient.setUserStylewith a more powerful commandupdateInstancewhich: changes the instance ID, sets the style, and clears complications all in one go.
API পরিবর্তনগুলি
- TraceEvents have been added to the watchface libraries. ( I1a141 )
-
ComplicationStatenow has a new propertyinitiallyEnabledwhich is useful for predicting the consequences of switching styles. ( I8c905 ) - We've replaced
InteractiveWatchFaceWcsClient.setUserStylewith a more powerful commandupdateInstancewhich: changes the instance ID, sets the style, and clears complications. ( Ife6f6 ) - WatchFaceClient screenshot APIs no longer compress the screenshots because that was slow, instead we leave any post processing up to the caller. ( Id35af )
- It's now possible to remotely close an on watchface editor via
EditorService.closeEditor. ( Ic5aa4 ) - Added nullability annotations ( Ic16ed )
Version 1.0.0-alpha08
February 24, 2021
androidx.wear:wear-*:1.0.0-alpha08 is released. Version 1.0.0-alpha08 contains these commits.
নতুন বৈশিষ্ট্য
- Some watch faces are designed around one or more specific complications, to support this we've added Complication.Builder#setFixedComplicationProvider which if set to true prevents the user from changing the complication in that slot.
- The watchface libraries are Kotlin first and use coroutines (eg suspend functions). For Java users we've provided ListenableFuture wrappers to improve interoperability in the following libraries: wear/wear-watchface-guava, wear/wear-watchface-client-guava & wear/wear-watchface-editor-guava.
API পরিবর্তনগুলি
- We've removed support for double taps on complications launching the provider chooser, this feature wasn't common in watchfaces and complicated the implementation of SysUI. ( I3ef24 )
- ProviderInfoRetriever methods may throw ServiceDisconnectedException if the binder closes unexpectedly. ( Ib2cc4 )
- From Android 11 onwards, there are restrictions on when the ProviderChooser can be run, in addition we'd like editors to be built with the new
wear-watchface-editorso ComplicationHelperActivity is being removed from the public API. ( Ib19c1 ) - Remove ComplicationText static methods in favor of builders. ( Ibe399 )
- We have introduced guava ListenableFuture wrappers for the various watch face library suspended methods. ( I16b2c )
- For API clarity we've added a secondary constructor to RenderParameters which doesn't require a tint, for use with LayerModes other than
LayerMode.DRAW_OUTLINED. ( I497ea ) - Previously ListUserStyleSetting was different from the other because it had a default argument. Now all the StyleSetting subclass constructors take the default value last. ( I9dbfd )
- CanvasComplication has been refactored to use have a hidden method, which makes it easier to implement a subclass ( I5b321 )
- We have refactored away EditorResult in favor of a new EditorService and
EditorSession.broadcastState()to stream updates to an observer (typically SysUI). ( Ic4370 ) - Some watchfaces are built around a particular complication as an integral part of the watch face where the provider is not user configurable. To support this we've added
Complication.Builder#setFixedComplicationProvider. ( I4509e ) - EditorRequest now specifies package name rather than ComponentName because it was inconvenient for SysUI to look up the class name of the editor, and we only really need the package name. ( Ib6814 )
সংস্করণ 1.0.0-alpha07
১০ ফেব্রুয়ারী, ২০২১
androidx.wear:wear-*:1.0.0-alpha07 is released. Version 1.0.0-alpha07 contains these commits.
নতুন বৈশিষ্ট্য
- WatchFaceService.createWatchFace is now a suspend function which means the watchface no longer has to block the ui thread while waiting for IO. Similarly wear-watchface-editor and wear-complications-data
API পরিবর্তনগুলি
- Remove PhotoImage class and use Icon directly. ( I8a70b )
- Expose the validTimeRange of ComplicationData. ( I91366 )
- Make image-like attributes more explicit. ( I81700 )
- wear-watchface-editor and wear-complications-data have been refactored to use suspend functions instead of coroutines. Rx java & Future compat wrappers to follow. ( If3c5f )
- ProviderInfoRetriever now now throws PreviewNotAvailableException if requestPreviewComplicationData can't return preview data due to connection issues or lack of API support. ( I4964d )
- WatchFaceControlService::createWatchFaceControlClient is now a suspended fuction and getOrCreateWallpaperServiceBackedInteractiveWatchFaceWcsClient is now called getOrCreateWallpaperServiceBackedInteractiveWatchFaceWcsClientAsync returning
Deferred<InteractiveWatchFaceWcsClient>. RX java and Future compat wrappers to follow. ( I5d461 ) - Rename
CATEGORY_PROVIDER_CONFIG_ACTIONtoCATEGORY_PROVIDER_CONFIG. ( I7c068 ) - Please note createOnWatchEditingSession is now a suspended function because the watchface sometimes isn't available until shortly after the editor activity has started. ( Ida9aa )
- WatchFaceService.createWatchFace is now a suspend function which allows for async initialization, previously you would have had to block the main thread. ( If076a )
- UserStyle now has an array operator and we've added casting helpers to UserStyle.Option. ( I35036 )
- We've fixed a marshalling bug with UserStyle wireformats changing some of the unstable hidden API. ( I8be09 )
- We've added CustomValueUserStyleSetting which lets you store a single application specific string within a UserStyle. The default watch face editors will ignore this value. ( Ic04d2 )
- InstanceID is not passed in the intent extras for R and older versions of Android WearOS which we can't upgrade. To support this we now allow InstancID to be null. ( Id8b78 )
- EditorRequest now includes the editor ComponentName which is set as the component in WatchFaceEditorContract.createIntent ( I3cd06 )
- The watchface EditorResult now includes preview ComplicationData to allow the caller to take a screenshot of the watchface after editing. ( I2c561 )
বাগ ফিক্স
- Added toString() overrides to UserStyle, UserStyleSetting and UserStyleSchema which makes working with these classes a bit nicer. ( I9f5ec )
সংস্করণ 1.0.0-alpha06
২৭ জানুয়ারী, ২০২১
androidx.wear:wear-*:1.0.0-alpha06 is released. Version 1.0.0-alpha06 contains these commits.
নতুন বৈশিষ্ট্য
- We've introduced a new library wear/wear-watchface-editor which allows watch face developers and potentially OEMs to build a style and complication editor. SysUI will send an Intent to the watch face which will use the new EditorSession class to access WatchFace details and record the result via Activity.setWatchRequestResult. To support this we've added ProviderInfoRetriever.requestPreviewComplicationData which allows watch face editors to request preview ComplicationData. The advantage of preview ComplicationData is unlike live data you don't have to worry about showing permission dialogs when rendering your editor (note if a user selects a provider with a permission they will still be prompted to grant the permission).
API পরিবর্তনগুলি
- ComplicationProviderInfo now has a field for the provider's ComponentName, support for this field will be added to WearOS at a later date and in the meantime, it will be null. ( Id8fc4 )
- We've added ProviderInfoRetriever.requestPreviewComplicationData which allows watch face editors to request preview ComplicationData. This is useful because live complications may require permissions and you can now display preview data for complications that are not active. ( I2e1df )
- ComplicationManager is now an optional parameter of WatchFace constructor and the arguments have been reordered to allow this. ( I66c76 )
- We've added an optional Bundle to Complications which if set gets merged in with the intent sent to launch the provider chooser activity. ( Ifd4ad )
- We've added a new
wear-watchface-editorlibrary to support on watch face and SysUi hosted editors. SysUI will launch these editors by sending an intent. The watch face activity service can use the new EditorSession class to access WatchFace details and record the result via Activity.setWatchRequestResult. ( I2110d ) - LayerMode.DRAW_HIGHLIGHTED is now called LayerMode.DRAW_OUTLINED and RenderParameters.highlightComplicationId is now called RenderParameters.selectedComplicationId which draws a highlight on the specified complication in addition to an outline. ( I90a40 )
- WatchFaceControlClient.getOrCreateWallpaperServiceBackedInteractiveWatchFaceWcsClient's future can now resolve with a ServiceStartFailureException if the service dies while waiting for the watchface to be created. ( I0f509 )
- EditorSession.complicationPreviewData is now a ListenableFuture because fetching this data is an asynchronous process. ( Iead9d )
বাগ ফিক্স
- We're removing unused fields from ComplicationOverlay leaving enabled and complicationBounds. ( I17b71 )
সংস্করণ 1.0.0-alpha05
১৩ জানুয়ারী, ২০২১
androidx.wear:wear-*:1.0.0-alpha05 is released. Version 1.0.0-alpha05 contains these commits.
নতুন বৈশিষ্ট্য
Watchfaces often support a number of complication configurations with varying numbers of complications shown. To make this easier to set up we now support initially disabled complications by calling setEnabled(false) on the builder. These can be enabled later via ComplicationsUserStyleSetting.
API পরিবর্তনগুলি
- ComplicationHelperActivity now accepts
Collection<ComplicationType>rather than an int array making it easier to use. ( I1f13d ) -
ProviderInfoRetriever.retrieveProviderInfonow correctly returnsListenableFuture<ProviderInfo[]>. ( If2710 ) - You can now create an initially disabled complication by calling setEnabled(false) on the builder. ( Idaa53 )
- WatchFaceState now has an isHeadless property which is only true for headless instances. ( Ifa900 )
- ComplicationDrawable now optionally supports synchronous loading of drawables. This is used by the screenshot APIs. ( I34d4a )
সংস্করণ 1.0.0-alpha04
১৬ ডিসেম্বর, ২০২০
androidx.wear:wear-*:1.0.0-alpha04 is released. Version 1.0.0-alpha04 contains these commits.
নতুন বৈশিষ্ট্য
- The wear watch face library now supports setting bounds per type. Eg you can switch to a wide bounding box for ComplicationType.LONG_TEXT whilst using a smaller bounding box for other types.
API পরিবর্তনগুলি
- Complications now use ComplicationBounds which wraps a
Map<ComplicationType, RectF>to support per complication type sizes. ( I1ebe7 ) - RenderParameters now lets you specify the highlight tint for use in screen shots. ( Iff42b )
- With the exception of bounds you now have to use ComplicationsUserStyleSetting to modify complications, this is to ensure the OS is kept in sync. ( I8dc5d )
- Renderer is now a sealed class. This means CanvasRenderer and GlesRenderer are now inner classes of Renderer. ( Iab5d4 , b/173803230 )
- CanvasComplicationDrawable.drawHighlight renamed to drawOutline. ObservableWatchData now has a few missing UiThread annotations. ScreenState has now been fully removed from WatchState. ( If1393 )
- The minimum API level for wear-watchface is now 25. Note hardware canvas support requires API level 26 or above. ( Ic9bbd )
- InteractiveWatchFaceWcsClient now has a getComplicationIdAt helper. ( I05811 )
- The API level for wear-watchface-client has been reduced to 25, however the screen shot APIs require API level 27. ( Id31c2 )
বাগ ফিক্স
- We now expose the complication's current ComplicationData's ComplicationType in ComplicationState. ( I9b390 )
- InteractiveWatchFaceWcs now has a method `bringAttentionToComplication to briefly highlight the specified complication. ( I6d31c )
-
InteractiveWatchFaceWcsClient#setUserStylenow has an overload accepting Mapwhich can potentially avoid an extra IPC round trip necessary to construct UserStyle. ( I24eec )
সংস্করণ 1.0.0-alpha03
২ ডিসেম্বর, ২০২০
androidx.wear:wear-*:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits.
নতুন বৈশিষ্ট্য
The Complication class now has a compicationData property letting watch faces observe ComplicationData changes. This makes it possible to change the complication's dimensions based on the type of the complication.
Variable frame rates are now supported by assigning to Renderer.interactiveDrawModeUpdateDelayMillis. For watch faces which run short animations every second this can lead to good power savings by going to sleep when not animating.
API পরিবর্তনগুলি
-
BACKGROUND_IMAGEhas been renamed toPHOTO_IMAGEalong with related classes. This type of complication is not exclusively used for backgrounds hence the name change. ( I995c6 ) - DefaultComplicationProviderPolicy properly annotated with IntDefs. ( I3b431 )
- The hidden TimeDependentText class is no longer exposed via ContentDescriptionLabel, instead we add an accessor to get the text at a specified time. ( Ica692 )
- ObservableWatchData's constructor is now internal. ( I30121 , b/173802666 )
- Complication now has compicationData letting watch faces observe ComplicationData changes. Complication also has a new isActiveAt call which can be used to tell if anything should be rendered at the provided datetime. ( Ic0e2a )
- The empty
SharedMemoryImageis no longer in the public API. ( I7ee17 ) -
WatchFace.overridePreviewReferenceTimeMillisnow has an IntRange annotation and the getter and setter have consistent names. ( Ia5f78 ) -
Complication.Builderis now created viaComplication.createRoundRectComplicationBuilderorComplication.createBackgroundComplicationBuilderfor clarity ( I54063 ) - Added WatchFace.TapListener which allows taps not consumed by complications to be observed by the WatchFace. ( Ic2fe1 , b/172721168 )
- WatchFace now supports variable frame rates by assigning to
Renderer.interactiveDrawModeUpdateDelayMillis. This can help preserve battery life by sleeping when not animating. ( I707c9 ) - WatchFace.Builder is no longer needed and invalidate() and interactiveUpdateRateMillis have been moved to Renderer. ( I329ea )
- For better java interoperability renamed getters for boolean properties in WatchState ( I6d2f1 )
- Renamed TapListener to TapCallback and InvalidateCallback to InvalidateListener for consistency. ( I9414e )
- Wear 2.0 watchface style options have been moved to their own class for clarity. WatchFace.Builder setters now have symmetrical WatchFace class getters. ( Iefdfc )
- Added InteractiveWatchFaceWcsClient and
WatchFaceControlClient.getOrCreateWallpaperServiceBackedInteractiveWatchFaceWcsClientwhich either gets an existing instance or creates it once the wallaper service has connected and made the engine. ( Id666e ) - WatchFaceControlClient is now an interface to allow tests to mock it. ( I875d9 )
- HeadlessWatchFaceClient, InteractiveWatchFaceSysUiClientImpl, InteractiveWatchFaceWcsClient are now interfaces to better facilitate testing. ( I7cdc3 )
- Added annotations to methods in
wear-watchface-complications-rendering( I0d65c )
বাগ ফিক্স
- Remove screen shape from DeviceConfig, which was duplicating
android.content.res.Configuration#isScreenRound()( Ifadf4 ) - Changed
WatchFaceControlClient.getOrCreateWallpaperServiceBackedInteractiveWatchFaceWcsClientto accept aMap<String, String>instead ofUserStylebecause it's hard to create aUserStylewithout knowing the schema which you can only get after the client has been created. ( Iea02a ) - Fix
InteractiveWatchFaceWcsClientto useComplicationStateinstead of the wire format. ( Icb8a4 ) -
UserStyleSettingsis now a sealed class because the watch face editors only understand the built in classes. ( I2d797 )
সংস্করণ 1.0.0-alpha02
November 11, 2020
androidx.wear:wear-*:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.
API পরিবর্তনগুলি
-
ComplicationDetailsis now calledComplicationStateand is properly wrapped and usages of wearable support@ComplicationData.ComplicationTypehave been migrated to androidxComplicationType. ( I4dd36 ) - Add an optional
highlightedComplicationIdparameter to RenderParameters which allows you to request highlighting of a single complication in screenshots. ( I66ce9 ) -
ComplicationProviderServiceto use new style complication api for consistency ( Id5aea ) -
getPreviewReferenceTimeMillisnow gets reference times fromDeviceConfig. ( I779fe ) - Simplifying Renderer API surface, can use
SurfaceHolder.Callbackto observe changes instead. ( I210db ) -
CanvasComplicationRendererdoesn't extend fromRenderer, renaming it for clarity. ( Ibe880 )
বাগ ফিক্স
- First version of
androidx.wear:wear-watchface-client( I1e35e ) - Changed the name of
GlesTextureComplication#rendererfor clarity ( Ib78f7 ) - Rename
StyleCategorytoStyleSettingfor clarity ( I488c7 ) - Adding
UserStyleSchemafor a cleaner API ( If36f8 )
সংস্করণ 1.0.0-alpha01
২৮ অক্টোবর, ২০২০
androidx.wear:wear-complications-*:1.0.0-alpha01 and androidx.wear:wear-watchface-*:1.0.0-alpha01 are released. Version 1.0.0-alpha01 contains these commits.
API পরিবর্তনগুলি
- Removed some things we didn't intend to expose in public api. ( I41669 )
- Create
androidx.wear:wear-complications-providerlibrary. ( I77f1f ) - ComplicationsUserStyleCategory the new recommended category for configuring complications ( I96909 )
- Add wear-complication-data API. ( I7c268 )
- Functions with boolean return values to be prefixed with “is” rather than “get” ( If36ff )
- API advice is to avoid using protected so this class has been refactored to take parameters in via the constructor. ( I61644 )
- Rename setBackgroundComplication for clarity. ( I96fe3 )
- Use Kotlin properties for ComplicationDrawable isHighlighted & data ( I4dcc8 )
- Instead of ComplicationRenderer.InvalidateCallback we add Complication#invalidate() ( I4f4c6 )
- These APIs are being deprecated in WearableSupport and are removed here. ( Ib425c )
- Renamed some WatchFace builder methods to emphasize their wear 2.0 legacy nature. ( Idb775 )
- First beta API candidate for wear/wear-watchface ( Id3981 )
- First tracked version of the API. ( Ie9fe6 )
- Properly hiding ComplicationDrawable.BorderStyle IntDef and move to ComplicationStyle for consistency. ( I27f7a )
- Adding missing annotations for ComplicationStyle methods ( I838fd )
- This library has no public API surface ( I88e2b )
- All style category Option classes are now properly final. ( Ib8323 )
- First tracked version of the API. ( I27c85 )
বাগ ফিক্স
- Changed ComplicationProviderService to have an explicit getComplicationPreviewData method. ( I4905f )
- API lint check for MissingGetterMatchingBuilder is enabled for androidx ( I4bbea , b/138602561 )
- Rename wear-complications-rendering. ( Ifea02 )
- Style category display names are now CharSequences ( I28990 )
- Replacing Override with Overlay to match current themes & styles naming conventions. ( I4fde9 )
- Renamed UserStyle#getOptions for clarity. ( I695b6 )
সংস্করণ 1.2.0
সংস্করণ 1.2.0
১৫ সেপ্টেম্বর, ২০২১
androidx.wear:wear:1.2.0 is released. Version 1.2.0 contains these commits.
Important changes since 1.1.0
Added CurvedText component for easily writing curved text following the curvature of the largest circle that can be inscribed in the view. An usage example:
<androidx.wear.widget.CurvedText android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="example curved text" app:anchorAngleDegrees="180" app:anchorPosition="center" app:clockwise="false" style="@android:style/TextAppearance.Large" />
Added ArcLayout container for laying out its child elements one by one on an arc in either the clockwise or counterclockwise direction. Its children can be both standard android widget or "curved" widgets which implement the
ArcLayout.Widgetinterface. ( I536da ) An usage example:<androidx.wear.widget.ArcLayout android:layout_width="match_parent" android:layout_height="match_parent" app:anchorPosition="center"> <ImageView android:layout_width="20dp" android:layout_height="20dp" android:src="@drawable/ic_launcher" /> <androidx.wear.widget.CurvedText android:layout_width="match_parent" android:layout_height="match_parent" android:text="Curved Text" style="@android:style/TextAppearance.Small" android:padding="2dp" /> </androidx.wear.widget.WearArcLayout>
Added a new layout container, DismissibleFrameLayout, which handles back-button-dismiss and/or swipe-to-dismiss, intended for use within an activity. At least one listener must be added to act on a dismissal action. A listener will typically remove a containing view or a fragment from the current activity. setSwipeDismissible(boolean) & setBackButtonDismissible(boolean) are provided for direct control over the features. This new layout is meant to replace the existing SwipeDismissFrameLayout.
Added support for indicating that an Activity can be “auto-resumed” when the device leaves ambient mode in the AmbientModeSupport class. This functionality was previously available in the deprecated WearableActivity class from WearableSupportLibrary. ( I336ab )
Migrated WearableCalendarContract class from Wearable Support Library. This API provides a subset of the data available through CalendarContract , but is automatically synced to wearable devices. ( I6f2d7 )
Added a new API
WearTypeHelperinandroidx.wear.utilsfor determining whether the given wear device is for China. ( Ib01a9 )Added accessibility features to
androidx.wear.widget.ConfirmationOverlaythat will read out messages if set followed by animation description. ( I524dd )Fixed bug that caused ConfirmationActivity to crash if no message was provided. ( Ie6055 )
Fixed bug where horizontally scrolling RecyclerViews caused
WearableDrawerLayoutto peek on all interactions. ( I24c7f )
Version 1.2.0-rc01
১ সেপ্টেম্বর, ২০২১
androidx.wear:wear:1.2.0-rc01 is released with no changes since the last beta. Version 1.2.0-rc01 contains these commits.
Version 1.2.0-beta01
১৮ আগস্ট, ২০২১
androidx.wear:wear:1.2.0-beta01 is released. Version 1.2.0-beta01 contains these commits.
বাগ ফিক্স
- Fix bug that caused ConfirmationActivity to crash if no message was provided. ( Ie6055 )
Version 1.2.0-alpha13
৪ আগস্ট, ২০২১
androidx.wear:wear:1.2.0-alpha13 is released. Version 1.2.0-alpha13 contains these commits.
API পরিবর্তনগুলি
- Renamed
WearTypeHelper.isChinaDevicetoWearTypeHelper.isChinaBuild. ( I47302 )
বাগ ফিক্স
- We have added accessibility features to
androidx.wear.widget.ConfirmationOverlaythat will read out messages if set followed by animation description. ( I524dd )
Version 1.2.0-alpha12
২১ জুলাই, ২০২১
androidx.wear:wear:1.2.0-alpha12 is released. Version 1.2.0-alpha12 contains these commits.
API পরিবর্তনগুলি
- We have added a new API
WearTypeHelperinandroidx.wear.utilsfor determining whether the given wear device is for China. ( Ib01a9 )
Version 1.2.0-alpha11
৩০ জুন, ২০২১
androidx.wear:wear:1.2.0-alpha11 is released. Version 1.2.0-alpha11 contains these commits.
বাগ ফিক্স
- Fixed bug where horizontally scrolling RecyclerViews caused
WearableDrawerLayoutto peek on all interactions. ( I24c7f )
Version 1.2.0-alpha10
২ জুন, ২০২১
androidx.wear:wear:1.2.0-alpha10 is released. Version 1.2.0-alpha10 contains these commits.
নতুন বৈশিষ্ট্য
- Alpha10 improves accessibility support in Curved Text and ArcLayouts. It also add some minor renaming of in the DismissibleFrameLayout to help clarify the API.
API পরিবর্তনগুলি
- We have renamed following methods in
DismissibleFrameLayout( Ib195e ):-
Callback#onDismissed->Callback#onDismissedFinished -
isSwipeDismissible->isDismissableBySwipe -
isBackButtonDismissible->isDismissableByBackButton
-
- We have made following methods final ( Ib195e ):
-
setBackButtonDismissible -
setSwipeDismissible -
registerCallback -
unregisterCallback
-
বাগ ফিক্স
- Use the content of the CurvedTextView on Talkback. ( I05798 )
- Better accessibility for normal views in an ArcLayout. ( I4418d )
Version 1.2.0-alpha09
১৮ মে, ২০২১
androidx.wear:wear:1.2.0-alpha09 is released. Version 1.2.0-alpha09 contains these commits.
API পরিবর্তনগুলি
- Added a new function
CurvedTextView.setTypeface()(similar toTextView's), to set the text typeface and bold/italics style. ( I4653c ) - Renamed
WearArcLayouttoArcLayout,WearCurvedTexttoCurvedTextandWearArcLayout.ArcLayoutWidgettoArcLayout.Widget. ( I6e5ce )- On
ArcLayout.Widget, renamedgetThicknessPxintogetThickness. - Vertical alignment constants on
ArcLayout.LayoutParamsare now named starting withVERTICAL_ALIGN_(instead of the previousVALIGN_)
- On
- On
CurvedTextView, the methodssetMinSweepDegreesandsetMaxSweepDegreeswere replaced bysetSweepRangeDegrees( I7a9d9 )
Version 1.2.0-alpha08
৫ মে, ২০২১
androidx.wear:wear:1.2.0-alpha08 is released. Version 1.2.0-alpha08 contains these commits.
API পরিবর্তনগুলি
- To improve code clarity, we added
@FloatRangeannotations to some angle parameters and return types. ( I430dd ) - In the interface
WearArcLayout.ArcLayoutWidget, the methodinsideClickAreais now called isPointInsideClickArea. ( Ia7307 )
Version 1.2.0-alpha07
২৪ মার্চ, ২০২১
androidx.wear:wear:1.2.0-alpha07 is released. Version 1.2.0-alpha07 contains these commits.
বাগ ফিক্স
- Fixing errors with non-curved children inside of WearArcLayout caused by using screen size with height bigger than width. These non-curved children are now correctly placed inside of an arc on all screen types.
Version 1.2.0-alpha06
২৭ জানুয়ারী, ২০২১
androidx.wear:wear:1.2.0-alpha06 is released. Version 1.2.0-alpha06 contains these commits.
API পরিবর্তনগুলি
- Migrate the Ongoing Activities library to a new sub-library: wear-ongoing. Classes now live in the androidx.wear.ongoing package (previously was androidx.wear.ongoingactivities) ( I7c029 )
- Migrate WearableCalendarContract class from Wearable Support Library to AndroidX. This API provides a subset of the data available through CalendarContract , but is automatically synced to wearable devices. ( I6f2d7 )
বাগ ফিক্স
- Disable the back button dismiss feature by default in Dismissible FrameLayout since swipe-to-dismiss remains as the main way to navigate back a full screen on Wearable devices ( Ic24e3 )
- Fixed some issues handling children visibility on WearArcLayout ( Icf912 )
Version 1.2.0-alpha05
১৩ জানুয়ারী, ২০২১
androidx.wear:wear:1.2.0-alpha05 is released. Version 1.2.0-alpha05 contains these commits.
বাগ ফিক্স
- Update the javadoc of AmbientModeSupport class to provide sample snippets to better demonstrate the general use of this class.
Version 1.2.0-alpha04
১৬ ডিসেম্বর, ২০২০
androidx.wear:wear:1.2.0-alpha04 is released. Version 1.2.0-alpha04 contains these commits.
API পরিবর্তনগুলি
- Added support for indicating that an Activity can be “auto-resumed” when the device leaves ambient mode in the AmbientModeSupport class. This functionality was previously available in the deprecated WearableActivity class from WearableSupportLibrary. ( I336ab )
- OngoingActivity
- Category can now be set when creating an OngoingActivity, eg
OngoingActivitiy.Builder.getCategory(String) - OngoingActivityData now has a timestamp of when the OngoingActivity was built -
OngoingActivityData.getTimestamp() - ( I91cb4 )
- Category can now be set when creating an OngoingActivity, eg
- Added support for setting margins on children of WearArcLayout by changing the layout params to extend MarginLayoutParams, ie WearArcLayout.LayoutParams extends android.view.ViewGroup.MarginLayoutParams. ( I2cd88 )
- Change WearCurvedTextView's anchor type default to
WearArcLayout.ANCHOR_CENTER(wasWearArcLayout.ANCHOR_START). This simplifies the contract between the arc layout and the curved text as the curved text by default draws itself x-centered at the top, and the parent arc layout can rotate it to where it needs to be. ( I105ff )
Version 1.2.0-alpha03
২ ডিসেম্বর, ২০২০
androidx.wear:wear:1.2.0-alpha03 is released. Version 1.2.0-alpha03 contains these commits.
নতুন বৈশিষ্ট্য
A new layout container DismissibleFrameLayout, which handles back-button-dismiss and/or swipe-to-dismiss, intended for use within an activity. At least one listener must be added to act on a dismissal action. A listener will typically remove a containing view or a fragment from the current activity. setSwipeDismissible(boolean) & setBackButtonDismissible(boolean) are provided for direct control over the features. This new layout is meant to replace the existing SwipeDismissFrameLayout.
Curved widgets now handle touch events. Normal widgets inside an WearArcLayout will receive all touch events, mapped to their coordinate space. WearCurvedTextView (inside an WearArcLayout or not) can set onClick and onLongClick handlers.
Ongoing activities classes are now VersionedParcelables instead of using custom serialization/deserialization. The static icon and touch intent are now required.
API পরিবর্তনগুলি
- The attribute "sweepDegrees" for WearCurvedTextView is separated into minSweepDegrees and maxSweepDegrees to give a more flexible layout of this widget.
Version 1.2.0-alpha02
November 11, 2020
androidx.wear:wear:1.2.0-alpha02 is released. Version 1.2.0-alpha02 contains these commits.
This release adds a new “Ongoing Activities API” for the first time. This API can be used by developers to signal that a long running activity, such as a fitness exercise or a media playback session is on-going. It allows developers to provide periodic status updates such as “distance and time run” or “current track playing” for display on the watch face or in the app launcher. This functionality is targeted at future devices with the on-going activity functionality enabled.
API পরিবর্তনগুলি
- New API for Ongoing Activities, this is a no-op on "unsupported devices.". ( I69a31 )
Version 1.2.0-alpha01
২৮ অক্টোবর, ২০২০
androidx.wear:wear:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits.
নতুন বৈশিষ্ট্য
- Added WearCurvedTextView component for easily writing curved text following the curvature of the largest circle that can be inscribed in the view. An usage example:
<androidx.wear.widget.WearCurvedTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="example curved text"
app:anchorAngleDegrees="180"
app:anchorPosition="center"
app:clockwise="false"
style="@android:style/TextAppearance.Large"
/>

- Added WearArcLayout container for laying out its child elements one by one on an arc in either the clockwise or counterclockwise direction. Its children can be both standard android widget or "curved" widgets which implement its ArcLayoutWidget interface. An usage example:
<androidx.wear.widget.WearArcLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
app:anchorPosition="center">
<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:src="@drawable/ic_launcher"
/>
<androidx.wear.widget.WearCurvedTextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="Curved Text"
style="@android:style/TextAppearance.Small"
android:padding="2dp"
/>
</androidx.wear.widget.WearArcLayout>

( I536da )
Wear-Input 1.2
সংস্করণ 1.2.0
১০ সেপ্টেম্বর, ২০২৫
androidx.wear:wear-input:1.2.0 and androidx.wear:wear-input-testing:1.2.0 are released. Version 1.2.0 contains these commits .
Important changes since 1.1.0:
- Exposed physical button location constants.
- Added
WearableRemoteInputExtenderfor setting Wear-specific extras onandroid.app.RemoteInput(for example, enabling Emoji input)
Version 1.2.0-rc01
২৭ আগস্ট, ২০২৫
androidx.wear:wear-input:1.2.0-rc01 and androidx.wear:wear-input-testing:1.2.0-rc01 are released with no changes since the last beta. Version 1.2.0-rc01 contains these commits .
Version 1.2.0-beta01
৩০ জুলাই, ২০২৫
androidx.wear:wear-input:1.2.0-beta01 and androidx.wear:wear-input-testing:1.2.0-beta01 are released with no notable changes since the last alphas. Version 1.2.0-beta01 contains these commits .
Version 1.2.0-alpha04
১৬ জুলাই, ২০২৫
androidx.wear:wear-input:1.2.0-alpha04 and androidx.wear:wear-input-testing:1.2.0-alpha04 are released. Version 1.2.0-alpha04 contains these commits .
নতুন বৈশিষ্ট্য
- Account for screen rotation when calculating the location of physical buttons relative to the screen. ( 87a57e )
API পরিবর্তনগুলি
- Rename LOC * to LOCATION * in wear-input. ( I5e879 )
বাগ ফিক্স
- This library now uses JSpecify nullness annotations , which are type-use. Kotlin developers should use the following compiler arguments to enforce correct usage:
-Xjspecify-annotations=strict,-Xtype-enhancement-improvements-strict-mode( Icbfb9 , b/326456246 )
Version 1.2.0-alpha02
২৯ সেপ্টেম্বর, ২০২১
androidx.wear:wear-input:1.2.0-alpha02 and androidx.wear:wear-input-testing:1.2.0-alpha02 are released. Version 1.2.0-alpha02 contains these commits.
API পরিবর্তনগুলি
- Renamed
disallowEmojitosetEmojisAllowedinWearableRemoteInputExtenderto use to set whether the option to draw emojis will be shown. ( I28393 )
Version 1.2.0-alpha01
১৫ সেপ্টেম্বর, ২০২১
androidx.wear:wear-input:1.2.0-alpha01 and androidx.wear:wear-input-testing:1.2.0-alpha01 are released. Version 1.2.0-alpha01 contains these commits.
API পরিবর্তনগুলি
- Exposed all button location constants from
WearableButtons. ( Ibb12c ) - Added
WearableRemoteInputExtenderclass that can be used for adding Wear-specific extras to the android.app.RemoteInput. ( I01903 )
Wear-Input 1.1.0
সংস্করণ 1.1.0
১৮ আগস্ট, ২০২১
androidx.wear:wear-input:1.1.0 and androidx.wear:wear-input-testing:1.1.0 are released. Version 1.1.0 contains these commits.
Important changes since 1.0.0
- Added
RemoteInputIntentHelper.- This class can be used to build a RemoteInput Intent. This can then be used to request input from your users in a customisable activity.
সংস্করণ 1.1.0-rc01
৪ আগস্ট, ২০২১
androidx.wear:wear-input:1.1.0-rc01 and androidx.wear:wear-input-testing:1.1.0-rc01 are released. Version 1.1.0-rc01 contains these commits.
No API Changes since androidx.wear:wear-input:1.1.0-beta01 and androidx.wear:wear-input-testing:1.1.0-beta01
সংস্করণ 1.1.0-beta01
২১ জুলাই, ২০২১
androidx.wear:wear-input:1.1.0-beta01 and androidx.wear:wear-input-testing:1.1.0-beta01 are released with no changes since 1.1.0-alpha03 . Version 1.1.0-beta01 contains these commits.
Version 1.1.0-alpha03
৩০ জুন, ২০২১
androidx.wear:wear-input:1.1.0-alpha03 and androidx.wear:wear-input-testing:1.1.0-alpha03 are released. Version 1.1.0-alpha03 contains these commits.
বাগ ফিক্স
- Fixed bug which caused RemoteInput intents, which had
RemoteInputs added to them viaRemoteInputHelper.putRemoteInputsExtra, to be rejected.
Version 1.1.0-alpha02
১৮ মে, ২০২১
androidx.wear:wear-input:1.1.0-alpha02 and androidx.wear:wear-input-testing:1.1.0-alpha02 are released. Version 1.1.0-alpha02 contains these commits.
API পরিবর্তনগুলি
-
RemoteInputIntentHelper's methods that are used for getting or putting extras that represent title, cancel, confirm, and in progress labels are now usingCharSequenceinstead ofStringfor these labels. ( I0e71f )
সংস্করণ 1.1.0-alpha01
২৭ জানুয়ারী, ২০২১
androidx.wear:wear-input:1.1.0-alpha01 and androidx.wear:wear-input-testing:1.1.0-alpha01 are released. Version 1.1.0-alpha01 contains these commits.
API পরিবর্তনগুলি
- Migrate RemoteInputIntent class from Wearable Support Library to AndroidX. The migrated class is renamed as RemoteInputIntentHelper which provides helper functions for supporting remote inputs through starting an intent. ( I47cee )
Wear-Input 1.0.0
সংস্করণ 1.0.0
২ ডিসেম্বর, ২০২০
androidx.wear:wear-input:1.0.0 and androidx.wear:wear-input-testing:1.0.0 are released. Version 1.0.0 contains these commits.
This release is identical to 1.0.0-rc01 .
১.০.০ এর প্রধান বৈশিষ্ট্য
Migration of WearableButtons functionality from Wearable Support Library to Jetpack.
Added
androidx.wear.input.test.TestWearableButtonsProviderwhich implementsandroidx.wear.input.WearableButtonsProviderto aid testing applications developed withandroidx.wear:wear-inputlibrary.
সংস্করণ 1.0.0-rc01
November 11, 2020
androidx.wear:wear-input:1.0.0-rc01 and androidx.wear:wear-input-testing:1.0.0-rc01 are released. Version 1.0.0-rc01 contains these commits.
This release is identical to 1.0.0-beta01 .
সংস্করণ 1.0.0-beta01
২৮ অক্টোবর, ২০২০
androidx.wear:wear-input:1.0.0-beta01 and androidx.wear:wear-input-testing:1.0.0-beta01 are released with no changes since 1.1.0-alpha01 . Version 1.0.0-beta01 contains these commits.
Wear-Input-Testing Version 1.0.0-alpha01
১৪ অক্টোবর, ২০২০
androidx.wear:wear-input-testing:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.
API পরিবর্তনগুলি
- Added
androidx.wear.input.test.TestWearableButtonsProviderwhich implementsandroidx.wear.input.WearableButtonsProviderto aid testing applications developed withandroidx.wear:wear-inputlibrary. ( I0ed0c )
Wear-Input Version 1.0.0-alpha01
২ সেপ্টেম্বর, ২০২০
androidx.wear:wear-input:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.
নতুন বৈশিষ্ট্য
Migration of WearableButtons functionality from Wearable Support Library to Jetpack. Additional testing support will be provided in androidx.wear:wear-input-testing library in the next Jetpack release.
সংস্করণ 1.1.0
সংস্করণ 1.1.0
১৪ অক্টোবর, ২০২০
androidx.wear:wear:1.1.0 is released. Version 1.1.0 contains these commits.
Major changes since 1.0.0
- Added a
layout_prefix to boxedEdges attribute (nowlayout_BoxedEdges) forBoxInsetLayoutin order to comply with android naming convention. This will remove the linter error in Android Studio for these attributes. ( I4272f ) - Added optional
EXTRA_ANIMATION_DURATION_MILLIStoConfirmationActivityto allow for the duration that the confirmation dialog is displayed. ( adb83ce , b/143356547 ) - Updated
WearableActionDrawViewto delay action drawer inflation until the drawer is opened for the first time. ( I01026 , b/163870541 )
Version 1.1.0-rc03
২ সেপ্টেম্বর, ২০২০
androidx.wear:wear:1.1.0-rc03 is released. Version 1.1.0-rc03 contains these commits.
বাগ ফিক্স
- Fixed issue with Action Drawer not showing content when it is opened. ( I01026 , b/163870541 )
Version 1.1.0-rc02
২৪ জুন, ২০২০
androidx.wear:wear:1.1.0-rc02 is released. Version 1.1.0-rc02 contains these commits.
বাগ ফিক্স
- Added a
layout_prefix to boxedEdges attribute (nowlayout_boxedEdges) forBoxInsetLayoutin order to comply with android naming convention. This will remove the linter error in Android Studio for these attributes.
সংস্করণ 1.1.0-rc01
১৪ মে, ২০২০
androidx.wear:wear:1.1.0-rc01 is released with no changes since .1.0-beta01 . Version 1.1.0-rc01 contains these commits.
সংস্করণ 1.1.0-beta01
April 29, 2020
androidx.wear:wear:1.1.0-beta01 is released with no changes since androidx.wear:wear:1.1.0-alpha01 . Version 1.3.0-beta01 contains these commits.
সংস্করণ 1.1.0-alpha01
১৫ এপ্রিল, ২০২০
androidx.wear:wear:1.1.0-alpha01 is released. Version 1.1.0-alpha01 contains these commits.
API পরিবর্তনগুলি
- Added optional
EXTRA_ANIMATION_DURATION_MILLIStoConfirmationActivityto allow for the duration that the confirmation dialog is displayed. ( adb83ce , 134523c , b/143356547 )
বাগ ফিক্স
- Updated
WearableActionDrawViewto delay action drawer inflation until the drawer is opened for the first time. ( 5cd32f7 )