পরিধান
androidx.wear.activity
androidx.wear.ambient
androidx.wear.input
androidx.wear.utils
androidx.wear.widget
androidx.wear.widget.drawer
( সমস্ত পরিধান প্যাকেজের জন্য refdocs দেখুন )
এই টেবিলটি androidx.wear
গ্রুপের সমস্ত শিল্পকর্মের তালিকা করে।
আর্টিফ্যাক্ট | স্থিতিশীল রিলিজ | প্রার্থী মুক্তি | বিটা রিলিজ | আলফা রিলিজ |
---|---|---|---|---|
পরিধান | 1.3.0 | - | - | 1.4.0-আলফা02 |
পরিধান-ইনপুট | 1.2.0 | - | - | - |
পরিধান-ইনপুট-পরীক্ষা | 1.2.0 | - | - | - |
পরিধান-চলমান | 1.1.0 | - | - | - |
পরিধান-ফোন-মিথস্ক্রিয়া | 1.1.0 | - | - | - |
পরিধান-দূরবর্তী মিথস্ক্রিয়া | 1.1.0 | - | - | 1.2.0-আলফা01 |
নির্ভরতা ঘোষণা করা
পরিধানের উপর নির্ভরতা যোগ করতে, আপনাকে অবশ্যই আপনার প্রকল্পে 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
সংস্করণ 1.0.0-rc01
অক্টোবর 08, 2025
androidx.wear:wear-core:1.0.0-rc01
কোনো পরিবর্তন ছাড়াই প্রকাশিত হয়েছে। সংস্করণ 1.0.0-rc01-এ এই কমিট রয়েছে।
সংস্করণ 1.0.0-beta02
10 সেপ্টেম্বর, 2025
androidx.wear:wear-core:1.0.0-beta02
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-beta02-এ এই কমিট রয়েছে।
বাগ ফিক্স
- নতুন API চেক করার সময়
WearApiVersionHelper
পুরানো ডিভাইসে নিক্ষেপ করা থেকে আটকান।
সংস্করণ 1.0.0-beta01
30 জুলাই, 2025
androidx.wear:wear-core:1.0.0-beta01
শেষ আলফা থেকে কোন উল্লেখযোগ্য পরিবর্তন ছাড়াই মুক্তি পেয়েছে। সংস্করণ 1.0.0-beta01-এ এই কমিট রয়েছে।
সংস্করণ 1.0.0-alpha02
জুলাই 16, 2025
androidx.wear:wear-core:1.0.0-alpha02
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha02-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
- VIC/Baklava ( I4676d ) অন্তর্ভুক্ত করতে
WearApiVersionHelper
আপডেট করে
বাগ ফিক্স
- এই লাইব্রেরিটি এখন JSpecify nullness টীকা ব্যবহার করে, যা টাইপ-ব্যবহার। Kotlin ডেভেলপারদের সঠিক ব্যবহার প্রয়োগ করতে নিম্নলিখিত কম্পাইলার আর্গুমেন্ট ব্যবহার করা উচিত:
-Xjspecify-annotations=strict
,-Xtype-enhancement-improvements-strict-mode
( Icbfb9 , b/326456246 )
সংস্করণ 1.0.0-alpha01
29 মে, 2024
androidx.wear:wear-core:1.0.0-alpha01
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha01-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
- Wear-এ রানটাইম API সামঞ্জস্যতা পরীক্ষায় সহায়তা করার জন্য একটি নতুন ক্লাস
WearApiVersionhelper
যোগ করা হয়েছে। ক্লায়েন্টরা এই স্ট্যাটিক হেল্পার ক্লাস এবং প্রদত্ত পদ্ধতি ব্যবহার করতে পারে (#isApiVersionAtLeast(VERSION)
) সামঞ্জস্য পরীক্ষা করতে।
Wear Tooling Preview Version 1.0
সংস্করণ 1.0.0
নভেম্বর 29, 2023
androidx.wear:wear-tooling-preview:1.0.0
প্রকাশিত হয়েছে। সংস্করণ 1.0.0 এই কমিট ধারণ করে.
1.0.0-এ বৈশিষ্ট্য
- UI পূর্বরূপের জন্য ব্যবহার করা যেতে পারে এমন বৈধ পরিধান ডিভাইসগুলির তালিকায়
WearDevices
যোগ করুন।
সংস্করণ 1.0.0-rc01
15 নভেম্বর, 2023
androidx.wear:wear-tooling-preview:1.0.0-rc01
কোনো পরিবর্তন ছাড়াই প্রকাশ করা হয়েছে। সংস্করণ 1.0.0-rc01 এই কমিট ধারণ করে।
সংস্করণ 1.0.0-beta01
18 অক্টোবর, 2023
androidx.wear:wear-tooling-preview:1.0.0-beta01
কোনো পরিবর্তন ছাড়াই প্রকাশ করা হয়েছে। সংস্করণ 1.0.0-beta01-এ এই কমিট রয়েছে।
সংস্করণ 1.0.0-alpha01
23 আগস্ট, 2023
androidx.wear:wear-tooling-preview:1.0.0-alpha01
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha01-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
- বৈধ পরিধানের ডিভাইসের তালিকায়
WearDevices
যোগ করুন যা UI পূর্বরূপের জন্য ব্যবহার করা যেতে পারে ( Ib036e )
পরিধান সংস্করণ 1.4
সংস্করণ 1.4.0-alpha02
জুলাই 16, 2025
androidx.wear:wear:1.4.0-alpha02
প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha02-এ এই কমিট রয়েছে।
বাগ ফিক্স
- এই লাইব্রেরিটি এখন JSpecify nullness টীকা ব্যবহার করে, যা টাইপ-ব্যবহার। কোটলিন ডেভেলপারদের সঠিক ব্যবহার প্রয়োগ করতে নিম্নলিখিত কম্পাইলার আর্গুমেন্ট ব্যবহার করা উচিত:
-Xjspecify-annotations=strict
,-Xtype-enhancement-improvements-strict-mode
( If4b1a , b/326456246 )
সংস্করণ 1.4.0-alpha01
15 নভেম্বর, 2023
androidx.wear:wear:1.4.0-alpha01
প্রকাশিত হয়েছে। 1.4.0-alpha01 সংস্করণে এই কমিট রয়েছে।
বাগ ফিক্স
- কোনো বার্তা না থাকলে
ConfirmationOverlay
আইকনটিকে উল্লম্বভাবে কেন্দ্রে রাখুন। ( I496d8 )
পরিধান সংস্করণ 1.3
সংস্করণ 1.3.0
9 আগস্ট, 2023
androidx.wear:wear:1.3.0
1.3.0-rc01
থেকে কোনো পরিবর্তন ছাড়াই প্রকাশিত হয়েছে। সংস্করণ 1.3.0 এই কমিট ধারণ করে.
1.2.0 থেকে গুরুত্বপূর্ণ পরিবর্তন
-
LifecycleObserver
ব্যবহার করতেAmbientModeSupport
মাইগ্রেট করুন। নতুন জীবনচক্র-সচেতন ক্লাসের পক্ষেAmbientModeSupport
অবমূল্যায়ন করুন। - নতুন আইকন/লেআউট, ফন্ট এবং ফন্ট মেট্রিক্স সহ
ConfirmationOverlay
আপডেট করুন -
FragmentContainerView
ব্যবহার করার সময় ত্রুটিগুলি সংশোধন করতে 2ndView
পরিবর্তে একটি ব্যাকগ্রাউন্ড আঁকাযোগ্য ব্যবহার করতেSwipeDismissTransitionHelper
আপডেট করা হয়েছে - Wear প্ল্যাটফর্ম এবং Wear Compose বাস্তবায়নের সাথে সামঞ্জস্যপূর্ণ হতে
SwipeDismissFrameLayout
অ্যানিমেশন আপডেট করা হয়েছে। -
SwipeDismissFrameLayout
বাগ ফিক্স একটি উল্লম্ব ফ্লিং সহ টুকরো টুকরো দুর্ঘটনাজনিত বরখাস্ত এড়াতে -
ArcLayout
এখন সম্প্রসারণ ওজন সমর্থন করে যা নিয়মিত লেআউট ওজনের অনুরূপভাবে কাজ করে। -
ArcLayout
এlayoutDirection
সমর্থন করে
সংস্করণ 1.3.0-rc01
জুন 21, 2023
androidx.wear:wear:1.3.0-rc01
1.3.0-beta01
থেকে কোনো পরিবর্তন ছাড়াই মুক্তি পেয়েছে। সংস্করণ 1.3.0-rc01-এ এই কমিট রয়েছে।
সংস্করণ 1.3.0-beta01
7 জুন, 2023
androidx.wear:wear:1.3.0-beta01
প্রকাশিত হয়েছে। সংস্করণ 1.3.0-beta01-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
- প্রতিক্রিয়ার পরে
AmbientLifecycleObserver
আপডেট করা হয়েছে।AmbientLifecycleObserverInterface
এর নাম পরিবর্তন করেAmbientLifecycleObserver
করা হয়েছে, এবং একটি উদাহরণAmbientLifecycleObserver(...)
কল করে পাওয়া যেতে পারে।isAmbient
একটি পদ্ধতির পরিবর্তে একটি ক্ষেত্র হিসাবে সরানো হয়েছে। ( I84b4f )
বাগ ফিক্স
-
SwipeToDismiss
এ আলফা এবং অনুবাদ রিসেট করার সময় প্যারেন্ট ভিউ নাল থাকলে কেস পরিচালনা করতে নাল চেক যোগ করা হচ্ছে। ( Ib0ec7 )
সংস্করণ 1.3.0-alpha05
এপ্রিল 19, 2023
androidx.wear:wear:1.3.0-alpha05
প্রকাশিত হয়েছে। সংস্করণ 1.3.0-alpha05 এই কমিট ধারণ করে।
এপিআই পরিবর্তন
-
LifecycleObserver
ব্যবহার করতেAmbientModeSupport
মাইগ্রেট করুন। নতুন জীবনচক্র-সচেতন ক্লাসের পক্ষেAmbientModeSupport
অবমূল্যায়ন করুন। ( I1593b )
বাগ ফিক্স
-
FragmentContainerView
ব্যবহার করার সময় ত্রুটিগুলি ঠিক করতে ভিউ যোগ করার পরিবর্তে অঙ্কনযোগ্য ব্যবহার করার জন্যSwipeDismissTransitionHelper
ব্যাকগ্রাউন্ড স্ক্রিম পদ্ধতি আপডেট করুন। ( I851cd )
সংস্করণ 1.3.0-alpha04
25 জানুয়ারী, 2023
androidx.wear:wear:1.3.0-alpha04
প্রকাশিত হয়েছে। সংস্করণ 1.3.0-alpha04 এই কমিট ধারণ করে।
বাগ ফিক্স
- Wear প্ল্যাটফর্ম এবং Wear Compose বাস্তবায়নের সাথে সামঞ্জস্যপূর্ণ হতে আমরা
SwipeDismissFrameLayout
এ অ্যানিমেশন আপডেট করেছি। ( I7261b )
সংস্করণ 1.3.0-alpha03
24 আগস্ট, 2022
androidx.wear:wear:1.3.0-alpha03
প্রকাশিত হয়েছে। সংস্করণ 1.3.0-alpha03 এই কমিট ধারণ করে।
নতুন বৈশিষ্ট্য
-
ArcLayout
এখন সম্প্রসারণ ওজন সমর্থন করে যা নিয়মিত লেআউট ওজনের অনুরূপভাবে কাজ করে। এর অর্থ হল আপনি সরাসরি কোণগুলি গণনা না করেই শিশু উপাদানগুলির আপেক্ষিক আকার নির্দিষ্ট করতে পারেন৷ আমরা একটি সেরা প্রচেষ্টাMaxAngleDegrees
যোগ করেছি যা ওজন সহ শিশু উপাদানগুলিকে প্রসারিত করার সময় সম্মান করা হয়। যেমন আপনি 90 ডিগ্রী ওজন সহ বেশ কয়েকটি বাচ্চাদের সাথে চাপটি আটকাতে পারেন, এটি কোনও অ-প্রসারিত উপাদান দ্বারা নেওয়া স্থানকেও সম্মান করবে।
এপিআই পরিবর্তন
- আমরা
ArcLayout.LayoutParams
এ ওজন যুক্ত করেছি যা একটি উইজেটকে উপলব্ধ স্থান পূরণ করতে প্রসারিত করতে দেয়, যদি একাধিক উইজেট থাকে তবে উপলব্ধ স্থানের তাদের ভাগ তাদের ওজনের সমানুপাতিক। উপরন্তু আমরাArcLayout.setMaxAngleDegrees
যোগ করেছি যাতে আপনি উদাহরণস্বরূপ 90 ডিগ্রিতে প্রসারণকে ক্যাপ করতে পারেন (NB এটি কোনও নির্দিষ্ট আকারের চাইল্ড উইজেটের লেআউটকে প্রভাবিত করে না)। অবশেষেArcLayout.Widget
এখনsetSweepAngleDegrees
করেছে যাArcLayout
একটি উইজেটকে তার আকারের শূন্য নয় এমন ওজনের সাথে জানাতে দেয়। ( I75f24 ) -
setColorFilter
ফিল্টার ( I99ddf , b/236498063 ) এর শূন্যতা আপডেট করা হয়েছে
সংস্করণ 1.3.0-alpha02
23 ফেব্রুয়ারি, 2022
androidx.wear:wear:1.3.0-alpha02
প্রকাশিত হয়েছে। সংস্করণ 1.3.0-alpha02 এই কমিট ধারণ করে।
নতুন বৈশিষ্ট্য
-
ArcLayout
( I14d49 ) এ সমর্থনlayoutDirection
- ConfirmationOverlay ( I0fdf8 ) এর জন্য উন্নত বিষয়বস্তু বর্ণনা বার্তা
- নতুন আইকন/লেআউট সহ
ConfirmationOverlay
আপডেট করুন। ( if5b54 )
বাগ ফিক্স
- পরিবেষ্টিত-সম্পর্কিত কোড রাখা হয়েছে তা নিশ্চিত করতে ProGuard নিয়ম যোগ করা হয়েছে ( Idaa10 )
- একটি উল্লম্ব ফ্লিং ( Idb6d8 ) এর সাথে SwipeDismissFrameLayout-এ ঘটনাক্রমে খণ্ডগুলি খারিজ করা এড়িয়ে চলুন
- কনফার্মেশন ওভারলে ঠিক করুন যখন এতে কোনো বার্তা নেই ( I63e6f )
বাহ্যিক অবদান
- Dae Gyu LEE (Samsung) - একটি উল্লম্ব ফ্লিং ( Idb6d8 ) সহ SwipeDismissFrameLayout-এ টুকরো টুকরো বরখাস্ত করা এড়িয়ে চলুন
সংস্করণ 1.3.0-alpha01
সেপ্টেম্বর 29, 2021
androidx.wear:wear:1.3.0-alpha01
প্রকাশিত হয়েছে। সংস্করণ 1.3.0-alpha01-এ এই কমিট রয়েছে।
বাগ ফিক্স
-
ConfirmationOverlay
এখন আইকনটিকে উপরে ঠেলে দীর্ঘ বার্তাগুলিকে মিটমাট করে, বার্তাটি ডিভাইসের বেজেলে (বা অফ-স্ক্রিন) প্রবেশ না করেই৷ ( I54bff )
Wear-Remote-Interactions সংস্করণ 1.2.0
সংস্করণ 1.2.0-alpha01
2 জুলাই, 2025
androidx.wear:wear-remote-interactions:1.2.0-alpha01
প্রকাশিত হয়েছে। সংস্করণ 1.2.0-alpha01-এ এই কমিট রয়েছে।
নতুন বৈশিষ্ট্য
- একটি নতুন পাবলিক Wear SDK API (
startRemoteActivity
) ব্যবহার করতেRemoteActivityHelper.startRemoteActivity
আপডেট করা হয়েছে যদি এটি উপলব্ধ থাকে (ওয়্যার 6 এর পর থেকে)। ( Id1e77 )
চলমান এবং ইন্টারঅ্যাকশন সংস্করণ 1.1.0 পরিধান করুন
সংস্করণ 1.1.0
ফেব্রুয়ারী 26, 2025
androidx.wear:wear-phone-interactions:1.1.0
প্রকাশিত হয়েছে। সংস্করণ 1.1.0 এ এই কমিটগুলি রয়েছে।
1.0.0 থেকে গুরুত্বপূর্ণ পরিবর্তন
- এই সংস্করণে Wear OS 5 (API লেভেল 34) বা উচ্চতর এবং টার্গেটিং API লেভেল 35 বা উচ্চতর অ্যাপগুলির জন্য গুরুত্বপূর্ণ বাগ ফিক্স রয়েছে৷
- অ্যাপগুলিকে তাদের
targetSdkVersion
35 বা তার উপরে আপডেট করার আগে লাইব্রেরির এই সংস্করণে আপডেট করা উচিত। - অন্যথায়, রানটাইম ব্যতিক্রম নিক্ষেপ করা হবে।
- পেয়ার করা ডিভাইসের প্রকারের জন্য একটি নতুন সংজ্ঞা -
none
, যখন ডিভাইসটি ফোনের সাথে পেয়ার করা হয় না, যোগ করা হয়েছে৷
সংস্করণ 1.1.0-rc01
12 ফেব্রুয়ারি, 2025
androidx.wear:wear-phone-interactions:1.1.0-rc01
শেষ বিটা থেকে কোনো উল্লেখযোগ্য পরিবর্তন ছাড়াই প্রকাশিত হয়েছে। সংস্করণ 1.1.0-rc01-এ এই কমিট রয়েছে।
সংস্করণ 1.1.0-beta01
জানুয়ারী 29, 2025
androidx.wear:wear-phone-interactions:1.1.0-beta01
প্রকাশিত হয়েছে। সংস্করণ 1.1.0-beta01-এ এই কমিটগুলি রয়েছে৷
নতুন বৈশিষ্ট্য
Wear Phone ইন্টারঅ্যাকশনের 1.1.0-beta01 রিলিজ ইঙ্গিত করে যে লাইব্রেরির এই রিলিজটি বৈশিষ্ট্য সম্পূর্ণ এবং API লক করা হয়েছে (যেখানে পরীক্ষামূলক হিসাবে চিহ্নিত করা ব্যতীত)। Wear Phone ইন্টারঅ্যাকশন 1.1-এ নিম্নলিখিত নতুন কার্যকারিতা এবং APIগুলি অন্তর্ভুক্ত রয়েছে:
-
OAuthRequest
এ প্রপার্টিredirectUrl
যোগ করা হয়েছে। - ডকুমেন্টেশন ফিক্স
-
PhoneTypeHelper
এ অতিরিক্ত টাইপ নির্দিষ্ট করতে যখন ডিভাইসটি ফোনের সাথে পেয়ার করা হবে না, বিদ্যমান অজানা প্রকার ব্যবহার করার পরিবর্তে।
এপিআই পরিবর্তন
- পেয়ার করা ডিভাইসের প্রকারের জন্য নতুন সংজ্ঞা যোগ করা হয়েছে - কোনোটিই নয়, যখন ডিভাইসটি ফোনের সাথে পেয়ার করা হয় না। ( I06cb8 )
সংস্করণ 1.1.0-alpha05
11 ডিসেম্বর, 2024
androidx.wear:wear-phone-interactions:1.1.0-alpha05
প্রকাশিত হয়েছে। সংস্করণ 1.1.0-alpha05-এ এই কমিট রয়েছে।
বাগ ফিক্স
- API লেভেল 35 বা উচ্চতর টার্গেট করার সময় Wear OS 5 (API লেভেল 34) বা উচ্চতর চালানোর সময় একটি ক্র্যাশ বাগ ঠিক করুন। অ্যাপগুলিকে তাদের
targetSdkVersion
35 বা তার উপরে আপডেট করার আগে লাইব্রেরির এই সংস্করণে আপডেট করা উচিত।
সংস্করণ 1.1.0
11 ডিসেম্বর, 2024
androidx.wear:wear-remote-interactions:1.1.0
প্রকাশিত হয়েছে। সংস্করণ 1.1.0 এ এই কমিটগুলি রয়েছে।
1.0.0 থেকে গুরুত্বপূর্ণ পরিবর্তন
- আমরা
RemoteActivityHelper.isRemoteActivityHelperAvailable
যোগ করেছি যা একটি দূরবর্তী কার্যকলাপ চালু করার কার্যকারিতা উপলব্ধ কিনা তা পরীক্ষা করতে সহায়তা করে। ( I107a9 )
সংস্করণ 1.1.0-rc01
অক্টোবর 16, 2024
androidx.wear:wear-remote-interactions:1.1.0-rc01
1.1.0-beta01
থেকে কোনো পরিবর্তন ছাড়াই প্রকাশিত হয়েছে। সংস্করণ 1.1.0-rc01-এ এই কমিট রয়েছে।
সংস্করণ 1.1.0-beta01
জুলাই 24, 2024
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
জানুয়ারী 10, 2024
androidx.wear:wear-phone-interactions:1.1.0-alpha04
প্রকাশিত হয়েছে। সংস্করণ 1.1.0-alpha04 এই কমিট ধারণ করে।
এপিআই পরিবর্তন
- আমরা
RemoteAuthClient.isRemoteAuthAvailable
যোগ করেছি যা দূরবর্তী প্রমাণীকরণ উপলব্ধ কিনা তা পরীক্ষা করে। ( Ibc10c )
সংস্করণ 1.1.0-alpha02
জানুয়ারী 10, 2024
androidx.wear:wear-remote-interactions:1.1.0-alpha02
প্রকাশিত হয়েছে। সংস্করণ 1.1.0-alpha02 এই কমিট ধারণ করে।
এপিআই পরিবর্তন
- আমরা
RemoteActivityHelper.isRemoteActivityHelperAvailable
যোগ করেছি যা একটি দূরবর্তী কার্যকলাপ চালু করার কার্যকারিতা উপলব্ধ কিনা তা পরীক্ষা করতে সহায়তা করে। ( I107a9 ) - আমরা জাভাতে ঐচ্ছিক প্যারামিটার সামঞ্জস্যপূর্ণ করার জন্য
RemoteActivityHelper
এর কনস্ট্রাক্টর আপডেট করেছি। ( I75554 )
সংস্করণ 1.1.0-alpha01
জুন 21, 2023
androidx.wear:wear-remote-interactions:1.1.0-alpha01
প্রকাশিত হয়েছে। সংস্করণ 1.1.0-alpha01-এ এই কমিট রয়েছে।
বাগ ফিক্স
-
RemoteActivityHelper
এ কীভাবে সম্পূর্ণতা এবং ত্রুটি পরিচালনা করা হয় তা উন্নত করা হয়েছে। ( I60d60 )
বাহ্যিক অবদান
-
wear-remote-interactions
থেকে পেয়ারা নির্ভরতা সরান এবং ছোট বিকল্প ব্যবহার করুন।
Wear-Phone-Interactions Version 1.1.0-alpha03
9 মার্চ, 2022
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
15 ডিসেম্বর, 2021
androidx.wear:wear-phone-interactions:1.1.0-alpha02
প্রকাশিত হয়েছে। সংস্করণ 1.1.0-alpha02 এই কমিট ধারণ করে।
বাগ ফিক্স
- কোড নমুনা স্নিপেটে ত্রুটি এবং
ErrorCode
( I260e8 ) এর মৃত লিঙ্ক সহRemoteAuthClient
ডকুমেন্টেশনের ত্রুটিগুলি ঠিক করুন
Wear-Phone-Interactions Version 1.1.0-alpha01
15 সেপ্টেম্বর, 2021
androidx.wear:wear-phone-interactions:1.1.0-alpha01
প্রকাশিত হয়েছে। সংস্করণ 1.1.0-alpha01-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
চলমান এবং ইন্টারঅ্যাকশন সংস্করণ 1.0.0 পরিধান করুন
Wear-Phone-Interactions Version 1.0.1
15 ডিসেম্বর, 2021
androidx.wear:wear-phone-interactions:1.0.1
প্রকাশিত হয়েছে। সংস্করণ 1.0.1 এই কমিট ধারণ করে.
বাগ ফিক্স
-
excludedTags
ছাড়া ব্রিজিং বিজ্ঞপ্তিগুলি অক্ষম করার চেষ্টা করার সময়BridgingManager
থেকে স্থির ব্যতিক্রম নিক্ষেপ করা হয়েছিল।
Wear-Phone-Interactions Wear-Remote-Interactions Version 1.0.0
15 সেপ্টেম্বর, 2021
androidx.wear:wear-phone-interactions:1.0.0
এবং androidx.wear:wear-remote-interactions:1.0.0
প্রকাশিত হয়েছে। সংস্করণ 1.0.0 এই কমিট ধারণ করে.
1.0.0 এর প্রধান বৈশিষ্ট্য
ফোন ইন্টারঅ্যাকশন লাইব্রেরিতে পরিধানযোগ্য থেকে ফোনে ইন্টারঅ্যাকশনের জন্য API রয়েছে। এতে নিম্নলিখিতগুলি রয়েছে:
-
PhoneDeviceType
, শুধুমাত্র পরিধানযোগ্য ডিভাইসে ব্যবহারের জন্য বর্তমান ঘড়িটি কোন ধরনের ফোনের সাথে যুক্ত করা হয়েছে তা নির্ধারণের জন্য সহায়ক পদ্ধতি প্রদান করে। -
BridgingManager
,BridgingManagerService
এবংBridgingConfig
APIগুলি রানটাইমে বিজ্ঞপ্তিগুলি সক্ষম/অক্ষম করতে এবং ব্রিজিং মোড থেকে অব্যাহতিপ্রাপ্ত বিজ্ঞপ্তিগুলির জন্য ঐচ্ছিকভাবে ট্যাগ সেট করে৷ -
RemoteAuthClient
, OAuth PKCE এক্সটেনশন যোগ করার জন্য সমর্থন সহ Wearables-এ দূরবর্তী প্রমাণীকরণের জন্য সমর্থন প্রদান করে। যোগাযোগের জন্য অতিরিক্ত হ্যান্ডলার এবং হেল্পার ক্লাস প্রদান করা হয়।
রিমোট ইন্টারঅ্যাকশন লাইব্রেরিতে পরিধানযোগ্য এবং ফোনের মধ্যে ইন্টারঅ্যাকশনের জন্য API রয়েছে। এতে নিম্নলিখিতগুলি রয়েছে:
-
WatchFaceConfigIntentHelper
, ফোনে সহচরের জন্য ঘড়ির মুখের কনফিগারেশন কার্যক্রমে আইডি এবং উপাদানের নাম নির্দিষ্ট করতে সাহায্যকারী ফাংশন প্রদান করে। -
RemoteActivityHelper
ক্লাস যা অন্যান্য ডিভাইসে (যেমন ঘড়ি থেকে ফোন পর্যন্ত) ইন্টেন্ট খোলার জন্য ব্যবহার করা যেতে পারে।
Wear-Phone-Interactions Wear-Remote-Interactions Version 1.0.0-rc01
1 সেপ্টেম্বর, 2021
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
10 সেপ্টেম্বর, 2025
androidx.wear:wear-ongoing:1.1.0
প্রকাশিত হয়েছে। সংস্করণ 1.1.0 এ এই কমিটগুলি রয়েছে।
1.0.0 থেকে গুরুত্বপূর্ণ পরিবর্তন:
- চলমান ক্রিয়াকলাপগুলিতে একটি বিষয়বস্তুর বিবরণ ক্ষেত্র যুক্ত করা হয়েছে, যা অ্যাক্সেসিবিলিটি পরিষেবা দ্বারা ব্যবহৃত হয়।
- SDK 33 এবং তার উপরে
POST_NOTIFICATIONS
অনুমতি প্রয়োজন এমন APIগুলিতেRequiresPermission
টীকা যোগ করা হয়েছে৷
সংস্করণ 1.1.0-rc01
আগস্ট 27, 2025
androidx.wear:wear-ongoing:1.1.0-rc01
শেষ বিটা থেকে কোনো পরিবর্তন ছাড়াই মুক্তি পেয়েছে। সংস্করণ 1.1.0-rc01-এ এই কমিট রয়েছে।
সংস্করণ 1.1.0-beta01
30 জুলাই, 2025
androidx.wear:wear-ongoing:1.1.0-beta01
শেষ আলফা থেকে কোন উল্লেখযোগ্য পরিবর্তন ছাড়াই প্রকাশিত হয়েছে। সংস্করণ 1.1.0-beta01-এ এই কমিটগুলি রয়েছে৷
সংস্করণ 1.1.0-alpha01
23 আগস্ট, 2023
androidx.wear:wear-ongoing:1.1.0-alpha01
প্রকাশিত হয়েছে। সংস্করণ 1.1.0-alpha01-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
- চলমান কার্যকলাপে একটি বিষয়বস্তুর বিবরণ ক্ষেত্র যোগ করুন। এটি চলমান কার্যকলাপ বর্ণনা করার জন্য অ্যাক্সেসিবিলিটি পরিষেবাগুলির দ্বারা ব্যবহার করা হবে৷ ( I79fc6 )
বাগ ফিক্স
- API-তে
@RequiresPermission
যোগ করা হয়েছে যার জন্য SDK 33 এবং তার উপরেPOST_NOTIFICATIONS
অনুমতি দিতে হবে। ( IE542e , b/238790278 )
পরিধান-চলমান সংস্করণ 1.0.0
1 সেপ্টেম্বর, 2021
androidx.wear:wear-ongoing:1.0.0
প্রকাশিত হয়েছে। সংস্করণ 1.0.0 এই কমিট ধারণ করে.
1.0.0 এর প্রধান বৈশিষ্ট্য
- Wear Ongoing Activities API হল তৃতীয় পক্ষের ডেভেলপার সহ ডেভেলপারদের জন্য একটি API, যা তাদের কার্যকলাপকে "চলমান কার্যকলাপ" হিসাবে চিহ্নিত করতে এবং প্রয়োজনীয় তথ্য প্রদান করতে ব্যবহৃত হয়।
- চলমান ক্রিয়াকলাপগুলি ঘড়ির পটভূমিতে চলতে পারে এমন কার্যকলাপগুলিকে বোঝায় (যেমন, ওয়ার্কআউট, কল এবং মিডিয়া)। Wear 3-এ, ওয়াচফেসে একটি ডেডিকেটেড ওভারলে আইকন এবং অ্যাপ লঞ্চারে একটি ভিন্ন রেন্ডারিংয়ের মাধ্যমে চলমান হিসাবে ঘোষিত একটি কার্যকলাপকে আরও বিশিষ্ট করা হবে।
- আরও তথ্যের জন্য, পরিধান চলমান কার্যকলাপ নির্দেশিকা দেখুন
Wear-Phone-Interactions Wear-Remote-Interactions Version 1.0.0-beta01
18 আগস্ট, 2021
androidx.wear:wear-phone-interactions:1.0.0-beta01
এবং androidx.wear:wear-remote-interactions:1.0.0-beta01
প্রকাশ করা হয়েছে। সংস্করণ 1.0.0-beta01-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
-
RemoteIntentHelper
ক্লাসRemoteActivityHelper
থেকে নামকরণ করা হয়েছে।RemoteIntentHelper#getRemoteIntentExtraIntent
এবংRemoteIntentHelper#getRemoteIntentNodeId
থেকেRemoteActivityHelper#getTargetIntent
এবংRemoteActivityHelper#getTargetNodeId
, ( Id2042 )
পরিধান-চলমান সংস্করণ 1.0.0-rc01
18 আগস্ট, 2021
androidx.wear:wear-ongoing:1.0.0-rc01
1.0.0-beta01
থেকে কোনো পরিবর্তন ছাড়াই প্রকাশিত হয়েছে। সংস্করণ 1.0.0-rc01 এই কমিট ধারণ করে।
পরিধান-চলমান সংস্করণ 1.0.0-beta01
4 আগস্ট, 2021
androidx.wear:wear-ongoing:1.0.0-beta01
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-beta01-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
- OngoingActivity-এর কিছু সেটার। বিল্ডার এখন সেটার এবং গেটারদের প্রতিসাম্য এবং ধারাবাহিকতা দেওয়ার জন্য একটি শূন্য যুক্তি গ্রহণ করে ( I17ee5 )
Wear-Phone-Interactions Version 1.0.0-alpha07
4 আগস্ট, 2021
androidx.wear:wear-phone-interactions:1.0.0-alpha07
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha07 এই কমিট ধারণ করে।
এপিআই পরিবর্তন
-
WearTypeHelper.isChinaDevice
নাম পরিবর্তন করেWearTypeHelper.isChinaBuild
রাখা হয়েছে। ( I47302 ) - আমরা ডিভাইসের প্রকারের (RoW/China) উপর ভিত্তি করে স্বয়ংক্রিয়ভাবে redirect_uri বেছে নিতে RemoteAuthClient লাইব্রেরি আপডেট করেছি। ( I38866 )
- বাগ সংশোধন করা হয়েছে যার কারণে BridgeConfig-এ/থেকে Bundle রূপান্তর করা হয়েছে ClassCastException-এর সাথে ব্যর্থ হয়েছে। BridgingManagerService ক্লাসের জন্য ইউনিট পরীক্ষা যোগ করা হয়েছে। ( I68ecb )
Wear-Remote-Interactions Version 1.0.0-alpha06
4 আগস্ট, 2021
androidx.wear:wear-remote-interactions:1.0.0-alpha06
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha06 এই কমিট ধারণ করে।
Wear-Phone-Interactions Version 1.0.0-alpha06
জুলাই 21, 2021
androidx.wear:wear-phone-interactions:1.0.0-alpha06
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha06 এই কমিট ধারণ করে।
এপিআই পরিবর্তন
-
BridgingManagerSeviceBinder
ক্লাস এখন পরিষেবার একটি সাবক্লাস এবং এর নাম পরিবর্তন করে BridgeManagerSevice রাখা হয়েছে। ( I9fca2 ) - পদ্ধতি
RemoteAuthClient.Callback.onAuthorizationError
পরিবর্তন করা হয়েছে OAuthRequest প্যারামিটার অন্তর্ভুক্ত করতে। যে পদ্ধতিতে এখন কলব্যাকের প্রয়োজন হয় সেগুলির কলব্যাক চালানোর জন্য একজন নির্বাহকের প্রয়োজন হয়৷ ( I35e11 )
বাগ ফিক্স
- আমরা প্রমাণীকরণ API আরও নথিভুক্ত প্যারামিটার সহ এবং যেখানে সম্ভব সেখানে বৈশিষ্ট্য ব্যবহার করে পরিষ্কার করেছি। ( I12287 )
Wear-Phone-Interactions Version 1.0.0-alpha05
৩০ জুন, ২০২১
androidx.wear:wear-phone-interactions:1.0.0-alpha05
প্রকাশিত হয়েছে। 1.0.0-alpha05 সংস্করণে এই কমিট রয়েছে।
বাগ ফিক্স
- নথিভুক্ত প্যারামিটার যা
BridgingConfig.Builder
জন্য কনস্ট্রাক্টরে পাস করা উচিত।
পরিধান-চলমান সংস্করণ 1.0.0-alpha06
2 জুন, 2021
androidx.wear:wear-ongoing:1.0.0-alpha06
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha06 এই কমিট ধারণ করে।
এপিআই পরিবর্তন
- চলমান কার্যকলাপে শিরোনাম ক্ষেত্র যোগ করুন। ( I7a405 )
বাগ ফিক্স
-
SerializationHelper.copy()
এখন তথ্যের একটি প্রতিরক্ষামূলক অনুলিপি করে ( I8b276 ) - উন্নত সেট ক্যাটাগরি ডকুমেন্টেশন ( Iff01f )
পরিধান-চলমান সংস্করণ 1.0.0-alpha05
18 মে, 2021
androidx.wear:wear-ongoing:1.0.0-alpha05
প্রকাশিত হয়েছে। 1.0.0-alpha05 সংস্করণে এই কমিট রয়েছে।
এপিআই পরিবর্তন
OngoingActivity
এখন বিল্ডারের মাধ্যমে সরাসরি সেট করা সমস্ত মান পুনরুদ্ধার করার জন্য গেটর রয়েছে (অথবা সংশ্লিষ্ট বিজ্ঞপ্তি থেকে নেওয়া ডিফল্টগুলি)৷ ( Id8ac8 )- নতুন ক্লাস
Status
এখনOngoingActivity
স্থিতি তৈরি করতে ব্যবহৃত হয় -
OngoingActivityData
এবংOngoingActivityStatus
আর পাবলিক API এর অংশ নয়।
- নতুন ক্লাস
TextStatusPart
এবংTimerStatusPart
ক্লাসগুলি আর পাবলিক API এর অংশ নয়৷ ( I57fb6 )- একটি স্ট্যাটিক পাঠ্য সহ একটি
Part
তৈরি করতে,Status.TextPart
ব্যবহার করুন। - একটি স্টপওয়াচ দিয়ে একটি
Part
তৈরি করতে (গণনা করা হচ্ছে),Status.Stopwatch
ব্যবহার করুন - একটি টাইমার দিয়ে একটি
Part
তৈরি করতে (গণনা করা হচ্ছে),Status.Timer
ব্যবহার করুন
- একটি স্ট্যাটিক পাঠ্য সহ একটি
পরিধান-চলমান সংস্করণ 1.0.0-alpha04
5 মে, 2021
androidx.wear:wear-ongoing:1.0.0-alpha04
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha04 এই কমিট ধারণ করে।
এপিআই পরিবর্তন
- OngoingActivity-এ, ExistingOngoingActivity-এর পদ্ধতিগুলিকে এখন recoverOngoingActivity বলা হয়।
- OngoingActivity-এ এখন গেটারের সম্পূর্ণ সেট রয়েছে, যা আগে শুধুমাত্র OngoingActivityData-এ পাওয়া যায়। ( I0ee4d )
Wear-Remote-Interactions Version 1.0.0-alpha05
জুলাই 21, 2021
androidx.wear:wear-remote-interactions:1.0.0-alpha05
প্রকাশিত হয়েছে। 1.0.0-alpha05 সংস্করণে এই কমিট রয়েছে।
এপিআই পরিবর্তন
আমরা
RemoteIntentHelper
ক্লাস (আগে পরিধানযোগ্য সমর্থন লাইব্রেরিতে RemoteIntent) যোগ করেছি যা অন্যান্য ডিভাইসে (যেমন ঘড়ি থেকে ফোন পর্যন্ত) ইন্টেন্ট খোলার জন্য ব্যবহার করা যেতে পারে। ( I1d7e0 )PlayStoreAvailability ক্লাসটি AndroidX লাইব্রেরি থেকে সরানো হয়েছে। একটি সংযুক্ত ফোনে প্লে স্টোর উপলব্ধ কিনা তা সনাক্ত করতে, সংযুক্ত ফোনটি একটি Android ফোন কিনা তা নির্ধারণ করতে
androidx.phone.interactions.PhoneTypeHelper.getPhoneDeviceType
পদ্ধতিটি ব্যবহার করুন৷ তারপরে সংযুক্ত ফোনটি একটি চাইনিজ ডিভাইস কিনা তা নির্ধারণ করতেandroidx.wear.utils.WearTypeHelper.isChinaDevice
পদ্ধতিটি ব্যবহার করুন৷ ফোনটি যদি অ্যান্ড্রয়েড ফোন হয় এবং যদি চাইনিজ ডিভাইস না হয় তাহলে প্লে স্টোরে পাওয়া যাবে। ( IE7 ডিসেম্বর )
Wear-Phone-Interactions Version 1.0.0-alpha04
7 এপ্রিল, 2021
androidx.wear:wear-phone-interactions:1.0.0-alpha04
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha04 এই কমিট ধারণ করে।
এপিআই পরিবর্তন
- পরিধানযোগ্য সমর্থন লাইব্রেরিতে বাস্তবায়নের সাথে নতুন লাইব্রেরিকে পিছনের দিকে সামঞ্জস্যপূর্ণ করতে
ErrorCode
ধ্রুবক আপডেট করা হয়েছে।
বাগ ফিক্স
- OAuth সেশন শুরু করার সময় নতুন OAuth API দ্বারা সৃষ্ট স্থির ব্যতিক্রম।
Wear-Remote-Interactions Version 1.0.0-alpha03
7 এপ্রিল, 2021
androidx.wear:wear-remote-interactions:1.0.0-alpha03
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha03 এই কমিট ধারণ করে।
এপিআই পরিবর্তন
-
PlayStoreAvailability
এমন একটি শ্রেণীতে পরিবর্তিত করা হয়েছে যাতে স্ট্যাটিক পদ্ধতি সহ সহচর বস্তু রয়েছে৷ ব্যবহার একই থাকে।
বাগ ফিক্স
- প্রকৃত HTML অক্ষর সহ নমুনা কোড সঠিকভাবে দেখানোর জন্য
WatchFaceConfigIntentHelper
জন্য নির্দিষ্ট সারাংশ ডক।
পরিধান-চলমান পরিধান-ফোন-ইন্টার্যাকশন সংস্করণ 1.0.0-alpha03
10 মার্চ, 2021
androidx.wear:wear-ongoing:1.0.0-alpha03
এবং androidx.wear:wear-phone-interactions:1.0.0-alpha03
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha03 এই কমিট ধারণ করে।
নতুন বৈশিষ্ট্য
- পরিধানযোগ্য সমর্থন লাইব্রেরি থেকে AndroidX-এ OAuthClient স্থানান্তর করুন। এই স্থানান্তরিত শ্রেণীটির নাম পরিবর্তন করে RemoteAuthClient করা হয়েছে এবং এটি OAuth PKCE এক্সটেনশন যোগ করার সমর্থন সহ Wearables-এ দূরবর্তী প্রমাণীকরণের জন্য সমর্থন দেয়। যোগাযোগের জন্য অতিরিক্ত হ্যান্ডলার এবং হেল্পার ক্লাস প্রদান করা হয়।
- নতুন OngoingActivity.Builder কনস্ট্রাক্টর ব্যবহার করে চলমান ক্রিয়াকলাপগুলি এখন একটি ট্যাগযুক্ত বিজ্ঞপ্তির সাথে যুক্ত করা যেতে পারে।
এপিআই পরিবর্তন
- চলমান ক্রিয়াকলাপ লাইব্রেরিতে বিজ্ঞপ্তি ট্যাগের জন্য সমর্থন যোগ করা হয়েছে ( I653b4 )
- Wear Support Library থেকে AndroidX-এ OAuthClient মাইগ্রেট করুন এবং OAuth PKCE এক্সটেনশনের জন্য সমর্থন যোগ করুন ( I3eaaa )
Wear-Remote-Interactions Version 1.0.0-alpha02
10 মার্চ, 2021
androidx.wear:wear-remote-interactions:1.0.0-alpha02
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha02 এই কমিট ধারণ করে।
নতুন বৈশিষ্ট্য
- পরিধানযোগ্য সমর্থন লাইব্রেরি থেকে AndroidX-এ প্লেস্টোর উপলভ্যতা ক্লাস স্থানান্তর করা যা ফোনে প্লে স্টোর উপলব্ধ কিনা তা পরীক্ষা করার জন্য একটি API প্রদান করে।
বাগ ফিক্স
- পরিধানযোগ্য সমর্থন লাইব্রেরি থেকে AndroidX এ প্লেস্টোর উপলভ্যতা ক্লাস স্থানান্তর করা হচ্ছে। ( I69bfe )
সংস্করণ 1.0.0-alpha02
ফেব্রুয়ারী 10, 2021
androidx.wear:wear-ongoing:1.0.0-alpha02
এবং androidx.wear:wear-phone-interactions:1.0.0-alpha02
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha02 এই কমিট ধারণ করে।
এপিআই পরিবর্তন
- আরও জটিল অবস্থার জন্য সমর্থন যোগ করা হয়েছে। এগুলি একটি টেমপ্লেট (বা একাধিক) এবং অংশগুলির একটি সিরিজের সমন্বয়ে গঠিত যা টেমপ্লেটের স্থানধারকগুলি পূরণ করতে ব্যবহৃত হবে। OngoingActivityStatus-এ এখন শুধুমাত্র একটি অংশ (একটি টেক্সট বা টাইমার) সহ সাধারণ স্ট্যাটাস তৈরি করার জন্য একটি স্ট্যাটিক পদ্ধতি রয়েছে এবং আরও জটিল স্ট্যাটাস তৈরি করার জন্য একটি বিল্ডার রয়েছে। ( I1fe81 )
- Wear Support Library থেকে BridgingManager এবং BridgingConfig ক্লাসগুলিকে AndroidX-এ সরান যা রানটাইমে বিজ্ঞপ্তিগুলিকে সক্ষম/অক্ষম করার জন্য API প্রদান করে এবং ব্রিজিং মোড থেকে অব্যাহতিপ্রাপ্ত বিজ্ঞপ্তিগুলির জন্য ঐচ্ছিকভাবে ট্যাগ সেট করে৷ ( I3a17e )
সংস্করণ 1.0.0-alpha01
জানুয়ারী 27, 2021
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-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
চলমান ক্রিয়াকলাপ লাইব্রেরিটিকে একটি নতুন উপ-লাইব্রেরিতে স্থানান্তর করুন: পরিধান-চলমান৷ ক্লাস এখন androidx.wear.ongoing প্যাকেজে থাকে (আগে ছিল androidx.wear.ongoingactivities) ( I7c029 )
পরিধানযোগ্য থেকে ফোনে ইন্টারঅ্যাকশন সমর্থন করে এমন ক্লাস ধারণ করতে একটি নতুন সমর্থন লাইব্রেরি তৈরি করুন৷ এটি প্রাথমিকভাবে পরিধানযোগ্য সমর্থন লাইব্রেরি থেকে স্থানান্তরিত ক্লাস দ্বারা জনবহুল। ( Id5180 )
পরিধানযোগ্য সমর্থন লাইব্রেরি থেকে AndroidX-এ PhoneDeviceType ক্লাস মাইগ্রেট করুন। স্থানান্তরিত শ্রেণীটির নাম পরিবর্তন করা হয়েছে PhoneTypeHelper যা শুধুমাত্র পরিধানযোগ্য ডিভাইসে ব্যবহারের জন্য বর্তমান ঘড়িটি কোন ধরনের ফোনের সাথে যুক্ত করা হয়েছে তা নির্ধারণের জন্য সহায়ক পদ্ধতি প্রদান করে। ( Ibd947 )
পরিধানযোগ্য এবং ফোনের মধ্যে মিথস্ক্রিয়া সমর্থন করে এমন ক্লাসগুলি ধারণ করতে একটি নতুন সমর্থন লাইব্রেরি তৈরি করুন৷ এটি প্রাথমিকভাবে পরিধানযোগ্য সমর্থন লাইব্রেরি থেকে স্থানান্তরিত ক্লাস দ্বারা জনবহুল। ( I9deb4 )
পরিধানযোগ্য সমর্থন লাইব্রেরি থেকে AndroidX-এ WatchFaceCompanion ক্লাস মাইগ্রেট করুন। মাইগ্রেট করা ক্লাসটির নাম পরিবর্তন করা হয়েছে WatchFaceConfigIntentHelper যা ফোনে সহচরের ঘড়ির মুখ কনফিগারেশন কার্যক্রমে আইডি এবং উপাদানের নাম নির্দিষ্ট করার জন্য সহায়ক ফাংশন প্রদান করে, এটি পরিধানযোগ্য ডিভাইসে ঘড়ির মুখটি কনফিগার করতে স্থানীয়ভাবেও ব্যবহার করা যেতে পারে। ( IA455f )
পরিধান জটিলতা এবং ওয়াচফেস 1.0.0
সংস্করণ 1.0.0-alpha22
15 সেপ্টেম্বর, 2021
androidx.wear:wear-*:1.0.0-alpha22
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha22-এ এই কমিট রয়েছে।
নতুন বৈশিষ্ট্য
- EditorSession এখন লাইফসাইকেল পর্যবেক্ষকদের সাবস্ক্রাইব করে তাই আপনার কার্যকলাপ চলে গেলে আপনাকে আর এটিকে স্পষ্টভাবে বন্ধ করতে হবে না।
এপিআই পরিবর্তন
- EditorSession এবং ListenableEditorSession এখন জটিলতা স্লট স্টেট, জটিলতা পূর্বরূপ ডেটা এবং জটিলতা ডেটা উৎস তথ্যের জন্য কোটলিন স্টেটফ্লো ব্যবহার করে। ( I761d9 )
- EditorSession#userStyle এখন একটি
MutableStateFlow<UserStyle>
( I32ca9 ) - EditorSession.createOnWatchEditorSession এখন একটি লাইফসাইকেল পর্যবেক্ষক ব্যবহার করে এবং এটি স্বয়ংক্রিয়ভাবে বন্ধ হয়ে যায় যখন এটি ডিস্ট্রয়কে পর্যবেক্ষণ করে। উপরন্তু
createOnWatchEditorSession
জন্য এখন শুধুমাত্র অ্যাক্টিভিটি পাস করতে হবে। ListenableEditorSession-এও অভিন্ন পরিবর্তনগুলি প্রয়োগ করা হয়েছে। ( IC6b7f ) - CustomValueUserStyleSetting এর কনস্ট্রাক্টরকে সর্বজনীন API এর অংশ হিসাবে পুনঃস্থাপন করা হয়েছে। ( I2e69a )
-
UserStyle
এখনMap<UserStyleSetting, UserStyleSetting.Option>
এবংMutableUserStyleSetting#put
থেকে IllegalArgumentException থ্রো করে যদি সেটিং স্কিমাতে না থাকে বা বিকল্পটি সেটিং এর সাথে মেলে না। ( Iba40f )
সংস্করণ 1.0.0-alpha21
1 সেপ্টেম্বর, 2021
androidx.wear:wear-*:1.0.0-alpha21
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha21-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
- সমস্ত পাবলিক ওয়াচ ফেস, ক্লায়েন্ট, এডিটর এবং জটিলতা এপিআই এখন দীর্ঘ সময়ের পরিবর্তে java.time.Instant ব্যবহার করে, ফলস্বরূপ ন্যূনতম API স্তর 26-এ বৃদ্ধি পেয়েছে। ( I3cd48 )
- ওয়াচফেস এবং জটিলতা APIগুলি এখন ক্যালেন্ডারের পরিবর্তে অপরিবর্তনীয় ZonedDateTime ব্যবহার করে। ( I25cf8 )
- ComplicationSlots এখন NoDataComplicationData দিয়ে আরম্ভ করা হয়েছে, ComplicationSlot.complicationData-এর এখন সর্বদা একটি মান থাকে এবং CanvasComplicationDrawable.complicationData আর বাতিলযোগ্য নয়। ( I4dfd6 ) এটি ঘড়ির মুখগুলির মধ্যে স্যুইচ করার সময় জটিলতা কমায় (কিন্তু দূর করে না)।
সংস্করণ 1.0.0-alpha20
18 আগস্ট, 2021
androidx.wear:wear-*:1.0.0-alpha20
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha20 এই কমিট ধারণ করে।
এপিআই পরিবর্তন
- আমরা ComplicationDataSourceInfo-তে CreateFallbackPreviewData যোগ করেছি যা ComplicationDataSourceInfoRetriever.retrievePreviewComplicationData শূন্য হলে ব্যবহার করা যেতে পারে। ( 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 ) - সেটImportantForAccessibility ( I990fa ) এর জন্য সুস্পষ্ট থ্রেডিং টীকা যোগ করা হয়েছে
- ComplicationSlotBoundsType androidx-wear-watchface-এ সরানো হয়েছে। পরিধান/পরিধান-ওয়াচফেসে জটিলতা স্লটবাউন্ডসটাইপ। ( 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 কনস্ট্রাক্টরদের সরিয়ে দিয়েছি। পরিবর্তে স্ট্রিংরিসোর্স আইডি প্রয়োজন এমন কনস্ট্রাক্টর ব্যবহার করার পরামর্শ দেওয়া হয়। ( I8537b )
-
CurrentUserStyleRepository.UserStyleChangeListener
এখন SAM রূপান্তর সমর্থন করে। ( I85989 )
সংস্করণ 1.0.0-alpha19
4 আগস্ট, 2021
androidx.wear:wear-*:1.0.0-alpha19
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha19-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
- আমরা
ListenableWatchFaceMetadataClient.listenableCreateWatchFaceMetadataClient
যোগ করেছি যাWatchFaceMetadataClient.createWatchFaceMetadataClient
এর জন্য একটিListenableFuture
র্যাপার প্রদান করে। ( I5fa37 ) -
UserStyleOption.getOptionForId
এখন একটি বাইট অ্যারের পরিবর্তেUserStyleOption.Id
গ্রহণ করে। ( I469be ) -
BooleanOption.TRUE
এবংBooleanOption.FALSE
ধ্রুবক প্রদান করুন এবং ইনস্ট্যান্স তৈরির অনুমতি দিন ( I46e09 ) - পরিধান-ওয়াচফেস-ক্লায়েন্টের পদ্ধতিগুলি যা RemoteException নিক্ষেপ করতে পারে এখন সেই অনুযায়ী টীকা করা হয়েছে। ( Ib8438 )
- ধারাবাহিকতার জন্য আমরা
EditorSession.createOnWatchEditingSession
এর নাম পরিবর্তন করেcreateOnWatchEditorSession
করেছি, একইভাবেcreateHeadlessEditingSession
এখনcreateHeadlessEditorSession
। তাদের পেয়ারার মোড়কেরও নামকরণ করা হয়েছে। ( I1526b ) -
EditorSession
এখন একটি ইন্টারফেস এবংListenableEditorSession.commitChangesOnClose
এখন সঠিকভাবে অর্পণ করা হয়েছে। ( I7dc3e ) - আমরা এখন ব্যবহারকারীর স্টাইল স্কিমা প্রত্যাখ্যান করি যার সেটিংস বা বিকল্প আইডিগুলির সাথে বিরোধপূর্ণ ( Ic2715 )
- আমরা একটি ওভারলোডেড
UserStyle.get
যোগ করেছি যাUserStyleSetting.Id
গ্রহণ করে। ( I2aa0f )
সংস্করণ 1.0.0-alpha18
জুলাই 21, 2021
androidx.wear:wear-*:1.0.0-alpha18
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha18-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
- আমরা
ComplicationHelperActivity
androidx.wear:wear-watchface
লাইব্রেরিতে নিয়েছি। ( I39e76 ) - ধারাবাহিকতা এবং স্পষ্টতার জন্য,
ComplicationProvider
নাম পরিবর্তন করেComplicationDataSource
করা হয়েছে এবং তাদের নামে প্রোভাইডার সহ সমস্ত ক্লাস একইভাবে নতুন নামকরণ করা হয়েছে। ( আইএএফ০বি ) -
CanvasComplication.isHighlighted
কেRenderParameters.pressedComplicationSlotIds
এ সরানো হয়েছে এটিCanvasComplication
স্টেটলেস করার একটি পদক্ষেপ। এই পরিবর্তনকে সমর্থন করার জন্যCanvasComplication.render
এখনslotId
একটি প্যারামিটার হিসেবে নেয় এবং আমরা এখনComplicationSlot
GlesTextureComplication
এ পাস করি। ( I50e6e ) - We have added
headlessDeviceConfig
toEditorRequest
, 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
WatchFaceMetadataClient
which allows efficient retrieval of static watch face metadata such as theUserStyleSchema
and fixed details aboutComplicationSlots
. ( I6bfdf ) - We have renamed
CanvasRenderer.uiThreadInit
to 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
,makeUiThreadContextCurrent
andmakeBackgroundThreadContextCurrent
have been replaced byrunUiThreadGlCommands
andrunBackgroundThreadGlCommands
which 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.uiThreadInit
which is called once on the UiThread before any calls to render. We've also addedonRendererCreated
toCanvasComplication
which makes it easier forRenderer
andCanvasComplication
to share state.For clarity we have renamed
Complication
toComplicationSlot
andcomplicationId
to eithercomplicationSlotId
orcomplicationInstanceId
depending on usage
এপিআই পরিবর্তন
- For clarity we have renamed
Complication
toComplicationSlot
andcomplicationId
to eithercomplicationSlotId
orcomplicationInstanceId
depending on usage. Classes using Complication have similarly been renamed eg ComplicationsManager is now called ComplicationSlotsManager. ( I4da44 ) - In GlesRenderer
makeUiThreadContextCurrent
andmakeBackgroundThreadContextCurrent
have been replaced byrunUiThreadGlCommands
andrunBackgroundThreadGlCommands
which both accept aRunnable
. These functions are only needed if you need to make GL calls outside of render,runBackgroundThreadGlCommands
andonUiThreadGlSurfaceCreated
. 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.uiThreadInit
which is called once on the UiThread before any calls to render. Also for clarity in GlesRenderer we have renamedonGlContextCreated
toonBackgroundThreadGlContextCreated
, andonGlSurfaceCreated
toonUiThreadGlSurfaceCreated
. ( If86d0 ) -
HeadlessWatchFaceClient
&InteractiveWatchFaceClient
getComplicationsSlotState
has been renamed togetComplicationSlotsState
. InComplicationSlot
:createRoundRectComplicationBuilder
,createBackgroundComplicationBuilder
, andcreateEdgeComplicationBuilder
have been renamed tocreateRoundRectComplicationSlotBuilder
,createBackgroundComplicationSlotBuilder
, andcreateEdgeComplicationSlotBuilder
respectively. ( Ib9adc ) - We have added onRendererCreated to CanvasComplication which makes it easier for Renderer and CanvasComplication to share state. ( I5e1ac )
Version 1.0.0-alpha16
16 জুন, 2021
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
2 জুন, 2021
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.
এপিআই পরিবর্তন
- Replaced
@TargetApi
with@RequiresApi
. ( I0184a , b/187447093 , b/187447094 ) - We have introduced
WatchFaceControlClient.getDefaultProviderPoliciesAndType
which 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
18 মে, 2021
androidx.wear:wear-*:1.0.0-alpha14
is released. Version 1.0.0-alpha14 contains these commits.
নতুন বৈশিষ্ট্য
-
EditorSession.openComplicationProviderChooser
now returns ChosenComplicationProvider which contains the complication id,ComplicationProviderInfo
and 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.
এপিআই পরিবর্তন
- GlesRenderer properties
eglContext
andeglDisplay
are now non-nullable. Any GL errors are now reported viaGlesRenderer.GlesException
rather than via RuntimeExceptions. ( Ib1005 ) - We have migrated
androidx.wear.watchface.complications.rendering.ComplicationDrawable
from Java to Kotlin ( Ibc3eb ) - We have migrated
androidx.wear.watchface.complications.rendering.ComplicationStyle
from Java to Kotlin ( I3375e ) - We added information about the complication provider for each complication within EditorSession. ( I37f14 )
- We extended the result of
EditorSession.openComplicationProviderChooser
to include information returned by the chosen. ( Iead6d )
Wear Complications & Watchface Version 1.0.0-alpha13
5 মে, 2021
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
'scontentDescription
field mandatory to be passed into their constructors. IfComplicationText.EMPTY
is passed in for thecontentDescription
, acontentDescription
will be automatically generated from the text and title.WatchFaceControlClient.getOrCreateInteractiveWatchFaceClient
now throwsServiceStartFailureException
if the watchface throws an exception during init, this makes it much easier to diagnose issues during watch face startup.
এপিআই পরিবর্তন
- 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.SystemProviders
from 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.Builder
fromsetMinimumUnit
tosetMinimalTimeUnit
. ( I20c64 ) - We have made
ShortTextComplicationData.Builder
's,LongTextComplicationData.Builder
's andRangedValueComplicationData.Builder
'scontentDescription
field 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
isActiveAt
fromComplicationData
and exposed fieldvalidTimeRange
instead 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
21 এপ্রিল, 2021
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.
এপিআই পরিবর্তন
- Added
PROVIDER_
prefix to constants in SystemProviders. ( I1e773 ) - We have made
PhotoImageComplicationData.Builder
's,MonochromaticImageComplicationData.Builder
's andSmallImageComplicationData.Builder
'scontentDescription
field mandatory to be passed in constructor. ( I9643a ) -
ProviderInfoRetriever.requestPreviewComplicationData
has been renamed toretrievePreviewComplicationData
. ( I911ee ) - Migrated
ComplicationProviderService
from Java to Koltin. ( I849f2 ) - Method
ComplicationProviderService.onBind
is now final ( I39af5 ) - We've reinstated interface
CanvasComplication
and movedCanvasComplicaitonDrawable
,GlesTextureComplication
andComplicationHighlightRenderer
towear-watchface-complications-rendering
. ( I84670 ) -
RenderParameters
has 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 ) -
ComplicationTapFilter
andComplication.createEdgeComplicationBuilder
have 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
,maximumValue
andminimumValue
are now kotlin properties. In addition,UserStyleSetting.Option
functions 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 acceptsoutlineExpansion
andoutlineStrokeWidth
parameters. ( I87009 ) -
ComplicationDrawable.getNoDataText
is now part of the public API. ( I00598 )
Version 1.0.0-alpha11
7 এপ্রিল, 2021
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
InteractiveWatchFaceWcsClient
andInteractiveWatchFaceSysUiClient
have been merged intoInteractiveWatchFaceClient
.
এপিআই পরিবর্তন
- ContentDescriptionLabel.text is now a ComplicationText rather than the old wearable support library TimeDependentText. ( I80c03 )
-
SystemProviders.GOOGLE_PAY
is 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 aUserStyleData
class 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 ) -
UserStyleSetting
andUserStyleSetting.Option
now useUserStyleSetting.Id
andUserStyleSetting.Option.Id
respectively to store their ids rather than a String. ( I63f72 ) -
InteractiveWatchFaceClient.SystemState
has been renamed toWatchUiState
. ( I6a4e0 ) -
InteractiveWatchFaceWcsClient
andInteractiveWatchFaceSysUiClient
have been merged because it was hard to explain the division of responsibility ( Iff3fa ) - Layer enum values have been renamed for clarity.
Layer#TOP_LAYER
is nowLayer#COMPLICATIONS_OVERLAY
andLayer#BASE_LAYER
is nowLayer#BASE
( Ia144e ) -
UserStyleListener
has been renamed toUserStyleChangeListener
( I18524 ) -
UserStyleRepository
has been renamed toCurrentUserStyleRepository
( I6ea53 ) -
InteractiveWatchFaceWcsClient.updateInstance
has 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 )
-
WatcfaceControlServiceFactory
has been removed from the public api. ( I1f8d3 ) - We've renamed
CanvasComplication.setData
toCanvasComplication.loadData
. ( If1239 ) -
ComplicationsManager.bringAttentionToComplication
has been renamed todisplayPressedAnimation
. ( Ic4297 ) -
WatchFaceService.createWatchFace
now has an@UiThread
annotation. ( Ib54c2 ) - Changed the name of a CanvasComplicationDrawable parameter to fix a bug. ( I50dac )
- We've added
HeadlessWatchFaceClient.toBundle()
andHeadlessWatchFaceClient.createFromBundle
to support sendingHeadlessWatchFaceClient
over 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#getOrCreateWallpaperServiceBackedInteractiveWatchFaceWcsClientAsync
is now a suspend function and has been renamed togetOrCreateInteractiveWatchFaceClient
. ( Ib745d ) -
EditorState.commitChanges
andhasCommitChanges()
has been renamed toshouldCommitChanges()
. ( I06e04 ) -
previewComplicationData
has been renamed topreviewComplicationsData
to indicate theres (usually) more than one complication in the map. ( I56c06 ) -
InteractiveWatchFaceWcsClient.bringAttentionToComplication
has been renamed todisplayPressedAnimation
for consistency withComplicationsManager.displayPressedAnimation
. ( Ic9999 ) - All instances of watchface instance id have been encapsulated in a new WatchFaceId class ( I45fdf )
-
complicationState
property has been renamed tocomplicationsState
to indicate plurality. ( Ided07 ) - We've removed the various wear-watchface-client Binder conversions, they should be necessary. ( Icc4c0 )
- For consistency
EditorServiceClient
has been refactored to use listeners instead of observers. ( Iec3a4 ) - We've added a couple of missing
@Px
annotations toInteractiveWatchFaceSysUiClient
andWatchFaceControlClient
. ( 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.launchComplicationProviderChooser
has been renamed toopenComplicationProviderChooser
. ( I9d441 ) -
EditorSession.createOnWatchEditingSessionAsync
has been renamed tocreateOnWatchEditingSession
and is now a suspend function. ( Id257b ) - Added several missing
@UiThread
annotations onEditorSession
. ( I6935c ) -
UserStyleSetting.affectsLayers
has been renamed toaffectedLayers
. ( I6e22b )
Version 1.0.0-alpha10
24 মার্চ, 2021
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.
এপিআই পরিবর্তন
-
IdAndComplicationData
was a bit awkward and has been removed from the public API. Classes & interfaces that used it have been refactored. ( I4c928 ) - We've replaced
ReferenceTime
withCountUpTimeReference
andCountDownTimeReference
which are more self explanatory. ( Ib66c6 ) - Added some missing
@Px
and@ColorInt
annotations. ( I9bbc3 ) -
Complication.complicationConfigExtras
is now non-nullable and defaults toBundle.EMPTY
. ( Iad04f ) -
GlesRenderer
now requires you to callinitOpenGLContext
after 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.setRenderer
as it should not be needed. ( Ie992f ) -
Complicaiton.setComplicationBounds
is 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.onComplicationSingleTapped
has been renamed toonComplicationTapped
. ( I3a55c ) -
ComplicationOutlineRenderer.drawComplicationSelectOutline
has been renamed todrawComplicationOutline
. ( I14b88 )
Version 1.0.0-alpha09
10 মার্চ, 2021
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.closeEditor
allows SysUI to remotely close an on watch face editor if needed. - In addition
InteractiveWatchFaceWcsClient.setUserStyle
with a more powerful commandupdateInstance
which: changes the instance ID, sets the style, and clears complications all in one go.
এপিআই পরিবর্তন
- TraceEvents have been added to the watchface libraries. ( I1a141 )
-
ComplicationState
now has a new propertyinitiallyEnabled
which is useful for predicting the consequences of switching styles. ( I8c905 ) - We've replaced
InteractiveWatchFaceWcsClient.setUserStyle
with a more powerful commandupdateInstance
which: 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
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.
এপিআই পরিবর্তন
- 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-editor
so 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 )
Version 1.0.0-alpha07
ফেব্রুয়ারী 10, 2021
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
এপিআই পরিবর্তন
- 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_ACTION
toCATEGORY_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 )
Version 1.0.0-alpha06
জানুয়ারী 27, 2021
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).
এপিআই পরিবর্তন
- 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-editor
library 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 )
Version 1.0.0-alpha05
13 জানুয়ারী, 2021
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.
এপিআই পরিবর্তন
- ComplicationHelperActivity now accepts
Collection<ComplicationType>
rather than an int array making it easier to use. ( I1f13d ) -
ProviderInfoRetriever.retrieveProviderInfo
now 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 )
Version 1.0.0-alpha04
16 ডিসেম্বর, 2020
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.
এপিআই পরিবর্তন
- 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#setUserStyle
now has an overload accepting Mapwhich can potentially avoid an extra IPC round trip necessary to construct UserStyle. ( I24eec )
Version 1.0.0-alpha03
2 ডিসেম্বর, 2020
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.
এপিআই পরিবর্তন
-
BACKGROUND_IMAGE
has been renamed toPHOTO_IMAGE
along 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
SharedMemoryImage
is no longer in the public API. ( I7ee17 ) -
WatchFace.overridePreviewReferenceTimeMillis
now has an IntRange annotation and the getter and setter have consistent names. ( Ia5f78 ) -
Complication.Builder
is now created viaComplication.createRoundRectComplicationBuilder
orComplication.createBackgroundComplicationBuilder
for 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.getOrCreateWallpaperServiceBackedInteractiveWatchFaceWcsClient
which 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.getOrCreateWallpaperServiceBackedInteractiveWatchFaceWcsClient
to accept aMap<String, String>
instead ofUserStyle
because it's hard to create aUserStyle
without knowing the schema which you can only get after the client has been created. ( Iea02a ) - Fix
InteractiveWatchFaceWcsClient
to useComplicationState
instead of the wire format. ( Icb8a4 ) -
UserStyleSettings
is now a sealed class because the watch face editors only understand the built in classes. ( I2d797 )
Version 1.0.0-alpha02
11 নভেম্বর, 2020
androidx.wear:wear-*:1.0.0-alpha02
is released. Version 1.0.0-alpha02 contains these commits.
এপিআই পরিবর্তন
-
ComplicationDetails
is now calledComplicationState
and is properly wrapped and usages of wearable support@ComplicationData.ComplicationType
have been migrated to androidxComplicationType
. ( I4dd36 ) - Add an optional
highlightedComplicationId
parameter to RenderParameters which allows you to request highlighting of a single complication in screenshots. ( I66ce9 ) -
ComplicationProviderService
to use new style complication api for consistency ( Id5aea ) -
getPreviewReferenceTimeMillis
now gets reference times fromDeviceConfig
. ( I779fe ) - Simplifying Renderer API surface, can use
SurfaceHolder.Callback
to observe changes instead. ( I210db ) -
CanvasComplicationRenderer
doesn't extend fromRenderer
, renaming it for clarity. ( Ibe880 )
বাগ ফিক্স
- First version of
androidx.wear:wear-watchface-client
( I1e35e ) - Changed the name of
GlesTextureComplication#renderer
for clarity ( Ib78f7 ) - Rename
StyleCategory
toStyleSetting
for clarity ( I488c7 ) - Adding
UserStyleSchema
for a cleaner API ( If36f8 )
Version 1.0.0-alpha01
অক্টোবর 28, 2020
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.
এপিআই পরিবর্তন
- Removed some things we didn't intend to expose in public api. ( I41669 )
- Create
androidx.wear:wear-complications-provider
library. ( 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
15 সেপ্টেম্বর, 2021
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.Widget
interface. ( 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
WearTypeHelper
inandroidx.wear.utils
for determining whether the given wear device is for China. ( Ib01a9 )Added accessibility features to
androidx.wear.widget.ConfirmationOverlay
that 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
WearableDrawerLayout
to peek on all interactions. ( I24c7f )
Version 1.2.0-rc01
1 সেপ্টেম্বর, 2021
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
18 আগস্ট, 2021
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
4 আগস্ট, 2021
androidx.wear:wear:1.2.0-alpha13
is released. Version 1.2.0-alpha13 contains these commits.
এপিআই পরিবর্তন
- Renamed
WearTypeHelper.isChinaDevice
toWearTypeHelper.isChinaBuild
. ( I47302 )
বাগ ফিক্স
- We have added accessibility features to
androidx.wear.widget.ConfirmationOverlay
that will read out messages if set followed by animation description. ( I524dd )
Version 1.2.0-alpha12
জুলাই 21, 2021
androidx.wear:wear:1.2.0-alpha12
is released. Version 1.2.0-alpha12 contains these commits.
এপিআই পরিবর্তন
- We have added a new API
WearTypeHelper
inandroidx.wear.utils
for 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
WearableDrawerLayout
to peek on all interactions. ( I24c7f )
Version 1.2.0-alpha10
2 জুন, 2021
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.
এপিআই পরিবর্তন
- 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
18 মে, 2021
androidx.wear:wear:1.2.0-alpha09
is released. Version 1.2.0-alpha09 contains these commits.
এপিআই পরিবর্তন
- Added a new function
CurvedTextView.setTypeface()
(similar toTextView
's), to set the text typeface and bold/italics style. ( I4653c ) - Renamed
WearArcLayout
toArcLayout
,WearCurvedText
toCurvedText
andWearArcLayout.ArcLayoutWidget
toArcLayout.Widget
. ( I6e5ce )- On
ArcLayout.Widget
, renamedgetThicknessPx
intogetThickness
. - Vertical alignment constants on
ArcLayout.LayoutParams
are now named starting withVERTICAL_ALIGN_
(instead of the previousVALIGN_
)
- On
- On
CurvedTextView
, the methodssetMinSweepDegrees
andsetMaxSweepDegrees
were replaced bysetSweepRangeDegrees
( I7a9d9 )
Version 1.2.0-alpha08
5 মে, 2021
androidx.wear:wear:1.2.0-alpha08
is released. Version 1.2.0-alpha08 contains these commits.
এপিআই পরিবর্তন
- To improve code clarity, we added
@FloatRange
annotations to some angle parameters and return types. ( I430dd ) - In the interface
WearArcLayout.ArcLayoutWidget
, the methodinsideClickArea
is now called isPointInsideClickArea. ( Ia7307 )
Version 1.2.0-alpha07
24 মার্চ, 2021
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
জানুয়ারী 27, 2021
androidx.wear:wear:1.2.0-alpha06
is released. Version 1.2.0-alpha06 contains these commits.
এপিআই পরিবর্তন
- 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
13 জানুয়ারী, 2021
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
16 ডিসেম্বর, 2020
androidx.wear:wear:1.2.0-alpha04
is released. Version 1.2.0-alpha04 contains these commits.
এপিআই পরিবর্তন
- 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
2 ডিসেম্বর, 2020
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.
এপিআই পরিবর্তন
- 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
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.
এপিআই পরিবর্তন
- New API for Ongoing Activities, this is a no-op on "unsupported devices.". ( I69a31 )
Version 1.2.0-alpha01
অক্টোবর 28, 2020
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
10 সেপ্টেম্বর, 2025
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
WearableRemoteInputExtender
for setting Wear-specific extras onandroid.app.RemoteInput
(for example, enabling Emoji input)
Version 1.2.0-rc01
আগস্ট 27, 2025
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
30 জুলাই, 2025
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
জুলাই 16, 2025
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 )
এপিআই পরিবর্তন
- 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
সেপ্টেম্বর 29, 2021
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.
এপিআই পরিবর্তন
- Renamed
disallowEmoji
tosetEmojisAllowed
inWearableRemoteInputExtender
to use to set whether the option to draw emojis will be shown. ( I28393 )
Version 1.2.0-alpha01
15 সেপ্টেম্বর, 2021
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.
এপিআই পরিবর্তন
- Exposed all button location constants from
WearableButtons
. ( Ibb12c ) - Added
WearableRemoteInputExtender
class that can be used for adding Wear-specific extras to the android.app.RemoteInput. ( I01903 )
Wear-Input 1.1.0
সংস্করণ 1.1.0
18 আগস্ট, 2021
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.
Version 1.1.0-rc01
4 আগস্ট, 2021
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
Version 1.1.0-beta01
জুলাই 21, 2021
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
RemoteInput
s added to them viaRemoteInputHelper.putRemoteInputsExtra
, to be rejected.
Version 1.1.0-alpha02
18 মে, 2021
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.
এপিআই পরিবর্তন
-
RemoteInputIntentHelper
's methods that are used for getting or putting extras that represent title, cancel, confirm, and in progress labels are now usingCharSequence
instead ofString
for these labels. ( I0e71f )
Version 1.1.0-alpha01
জানুয়ারী 27, 2021
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.
এপিআই পরিবর্তন
- 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
2 ডিসেম্বর, 2020
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
.
Major features of 1.0.0
Migration of WearableButtons functionality from Wearable Support Library to Jetpack.
Added
androidx.wear.input.test.TestWearableButtonsProvider
which implementsandroidx.wear.input.WearableButtonsProvider
to aid testing applications developed withandroidx.wear:wear-input
library.
Version 1.0.0-rc01
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
.
Version 1.0.0-beta01
অক্টোবর 28, 2020
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
অক্টোবর 14, 2020
androidx.wear:wear-input-testing:1.0.0-alpha01
is released. Version 1.0.0-alpha01 contains these commits.
এপিআই পরিবর্তন
- Added
androidx.wear.input.test.TestWearableButtonsProvider
which implementsandroidx.wear.input.WearableButtonsProvider
to aid testing applications developed withandroidx.wear:wear-input
library. ( I0ed0c )
Wear-Input Version 1.0.0-alpha01
2শে সেপ্টেম্বর, 2020
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
অক্টোবর 14, 2020
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
) forBoxInsetLayout
in 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_MILLIS
toConfirmationActivity
to allow for the duration that the confirmation dialog is displayed. ( adb83ce , b/143356547 ) - Updated
WearableActionDrawView
to delay action drawer inflation until the drawer is opened for the first time. ( I01026 , b/163870541 )
Version 1.1.0-rc03
2শে সেপ্টেম্বর, 2020
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
জুন 24, 2020
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
) forBoxInsetLayout
in order to comply with android naming convention. This will remove the linter error in Android Studio for these attributes.
Version 1.1.0-rc01
14 মে, 2020
androidx.wear:wear:1.1.0-rc01
is released with no changes since .1.0-beta01
. Version 1.1.0-rc01 contains these commits.
Version 1.1.0-beta01
এপ্রিল 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.
Version 1.1.0-alpha01
এপ্রিল 15, 2020
androidx.wear:wear:1.1.0-alpha01
is released. Version 1.1.0-alpha01 contains these commits.
এপিআই পরিবর্তন
- Added optional
EXTRA_ANIMATION_DURATION_MILLIS
toConfirmationActivity
to allow for the duration that the confirmation dialog is displayed. ( adb83ce , 134523c , b/143356547 )
বাগ ফিক্স
- Updated
WearableActionDrawView
to delay action drawer inflation until the drawer is opened for the first time. ( 5cd32f7 )