{"id":202,"date":"2021-08-18T17:20:36","date_gmt":"2021-08-18T09:20:36","guid":{"rendered":"https:\/\/eelp.cn\/?p=202"},"modified":"2021-08-18T17:49:29","modified_gmt":"2021-08-18T09:49:29","slug":"%e5%ae%89%e5%8d%93%e5%bc%80%e5%8f%91-kotlin%e5%9f%ba%e7%a1%80-%e6%98%be%e7%a4%ba%e9%80%9a%e7%9f%a5%e5%86%85%e5%ae%b9","status":"publish","type":"post","link":"https:\/\/cherrysigma.com\/?p=202","title":{"rendered":"[\u5b89\u5353\u5f00\u53d1\/kotlin]\u57fa\u7840 \u663e\u793a\u901a\u77e5\u5185\u5bb9"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u672c\u6587\u540c\u6b65\u53d1\u5e03\u4e8eb\u7ad9\u4e13\u680f,\u4e3a\u672c\u4eba\u6240\u53d1.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6211\u5728\u534a\u4e2a\u6708\u524d\u5f00\u59cb\u4e0a\u624bkotlin\u7684\u5b89\u5353\u5f00\u53d1,\u73b0\u5728\u6574\u5408\u4e00\u4e0b\u6211\u7684\u5b66\u4e60\u663e\u793a\u901a\u77e5(Notification)\u7684\u65b9\u6cd5,\u4f9b\u5404\u4f4d\u540e\u6765\u4eba\u53c2\u8003.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee5\u4e0b\u6587\u7ae0\u5305\u62ec:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u901a\u77e5\u9891\u9053<\/li><li>\u67e5\u8be2\u662f\u5426\u6709\u901a\u77e5\u7684\u6743\u9650\u5e76\u83b7\u53d6<\/li><li>\u8fdb\u884c\u901a\u77e5<\/li><li>\u7b80\u5355\u5b9e\u4f8b<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u6ce8:\u8be5\u6559\u7a0b\u53ef\u80fd\u53ea\u517c\u5bb9\u5b89\u53538\u4ee5\u4e0a\u7684\u7cfb\u7edf<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u53c2\u8003\u7f51\u7ad9:<a href=\"https:\/\/developer.android.google.cn\/training\/notify-user\/build-notification\" target=\"_blank\"  rel=\"nofollow\" >\u521b\u5efa\u901a\u77e5 &nbsp;|&nbsp; Android \u5f00\u53d1\u8005 &nbsp;|&nbsp; Android Developers (google.cn)<\/a><\/p>\n\n\n\n<h1 class=\"has-text-align-center wp-block-heading\">\u901a\u77e5\u9891\u9053<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u5b89\u53538\u4ee5\u4e0a\u9700\u8981\u521b\u5efa\u4e00\u4e2a\u9891\u9053\u624d\u80fd\u53d1\u9001\u901a\u77e5,\u521b\u5efa\u4e00\u4e2a\u9891\u9053\u7684\u51fd\u6570\u7684\u4ee3\u7801\u5982\u4e0b\u6240\u793a.\u6ce8\u610f\u9700\u8981\u5b9a\u4e49\u4e00\u4e2a\u9891\u9053id\u53d8\u91cf,\u7c7b\u578b\u4e3a\u5b57\u7b26\u4e32,\u5728\u4e0b\u65b9\u6240\u6709\u4ee3\u7801\u4e2d\u8be5\u53d8\u91cf\u79f0\u4f5c<strong>\"<span class=\"has-inline-color has-vivid-red-color\">CHANNAL_ID<\/span>\"<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>private fun createNotificationChannel()<br>{<br>        \/\/ Create the NotificationChannel, but only on API 26+ because<br>        \/\/ the NotificationChannel class is new and not in the support library<br>        if (Build.VERSION.<em>SDK_INT <\/em>&gt;= Build.VERSION_CODES.<em>O<\/em>) {<br>            val name = \"APP\u6d4b\u8bd5\u9891\u9053\"<br>            val descriptionText = \"\u7528\u4e8e\u6d4b\u8bd5APP\u901a\u77e5\u529f\u80fd\"<br>            val importance = NotificationManager.<em>IMPORTANCE_MAX<br><\/em><em>            <\/em>val channel = NotificationChannel(<em>CHANNEL_ID<\/em>, name, importance).<em>apply <\/em><strong>{<br><\/strong><strong>                <\/strong><em>description <\/em>= descriptionText<br>            <strong>}<br><\/strong><strong>            <\/strong>\/\/ Register the channel with the system<br>            val notificationManager: NotificationManager =<br>                getSystemService(Context.<em>NOTIFICATION_SERVICE<\/em>) as NotificationManager<br>            notificationManager.createNotificationChannel(channel)<br>        }<br>    }<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u521b\u5efa\u8fd9\u4e2a\u51fd\u6570\u540e,\u9700\u8981\u5728onCreate\u51fd\u6570\u4e2d\u8c03\u7528\u8fd9\u4e2a\u51fd\u6570\u4ee5\u521b\u5efa.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u822c\u6765\u8bf4,\u521b\u5efa\u6210\u529f\u5728\u8bbe\u7f6e\u4e2d\u7684\u8be5app\u7684\u901a\u77e5\u7ba1\u7406\u53ef\u4ee5\u770b\u5230\u8fd9\u4e2a\u9891\u9053,\u5982\u4e0b\u56fe<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"392\" height=\"163\" src=\"https:\/\/eelp.cn\/wp-content\/uploads\/2021\/08\/image.png\" alt=\"\" class=\"wp-image-204\" srcset=\"https:\/\/cherrysigma.com\/wp-content\/uploads\/2021\/08\/image.png 392w, https:\/\/cherrysigma.com\/wp-content\/uploads\/2021\/08\/image-300x125.png 300w\" sizes=\"auto, (max-width: 392px) 100vw, 392px\" \/><\/figure>\n\n\n\n<h1 class=\"has-text-align-center wp-block-heading\">\u67e5\u8be2\u901a\u77e5\u7684\u6743\u9650\u4ee5\u53ca\u83b7\u5f97\u5176\u6388\u6743<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">\u521a\u5b89\u88c5app\u65f6\u6709\u4e00\u5b9a\u53ef\u80fd\u6ca1\u6709\u60ac\u6d6e\u901a\u77e5\u6743\u9650\\\u9891\u9053\u901a\u77e5\u6743\u9650\u751a\u81f3APP\u901a\u77e5\u6743\u9650\u88ab\u5173\u95ed,\u8fd9\u65f6\u5019\u6211\u4eec\u5728\u901a\u77e5\u524d\u53ef\u80fd\u9700\u8981\u68c0\u67e5\u4e0b\u662f\u5426\u6709\u5bf9\u5e94\u6743\u9650.\u6574\u4e2a\u9274\u6743\u601d\u8def\u662f\u4eceapp\u9274\u6743-\u9891\u9053\u9274\u6743-\u60ac\u6d6e\u901a\u77e5\u9274\u6743\u9010\u6b65\u8fdb\u884c,\u90fd\u5f00\u542f\u4e86\u5c31\u53ef\u4ee5\u901a\u77e5\u4e86.\u5efa\u8bae\u5728\u53d1\u9001\u901a\u77e5\u4ee3\u7801\u524d\u8fdb\u884c\u9a8c\u8bc1.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"has-inline-color has-vivid-cyan-blue-color\">APP\u901a\u77e5<\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u53ef\u4ee5\u901a\u8fc7NotificationManagerCompat\u7684areNotificationsEnabled\u67e5\u770b\u662f\u5426\u6709\u6743,\u503c\u4e3a\u5e03\u5c14\u503c.\u5e03\u5c14\u503c\u82e5\u4e3a\u5047,\u5c31\u9700\u8981\u4f7f\u7528toast\u901a\u77e5\u7528\u6237\u5e76\u901a\u8fc7Intent\u8df3\u8f6c\u5230\u8bbe\u7f6e\u5f15\u5bfc\u5176\u5f00\u542f.\u4ee3\u7801\u5982\u4e0b:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>val notification = NotificationManagerCompat.from(this)\n            val isEnabled = notification.areNotificationsEnabled()\n            if (isEnabled.toString() == \"false\") {\n                Toast.makeText(this, \"APP\u6ca1\u6709\u901a\u77e5\u6743\u9650,\u8bf7\u8bbe\u7f6e\", Toast.LENGTH_SHORT).show()\n                val intent = Intent(Settings.ACTION_APP_NOTIFICATION_SETTINGS)\n                intent.putExtra(Settings.EXTRA_APP_PACKAGE, packageName)\n                intent.putExtra(Settings.EXTRA_CHANNEL_ID, \"1\")\n                startActivity(intent)\n            }<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"has-inline-color has-vivid-cyan-blue-color\">\u9891\u9053\u901a\u77e5<\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"> \u5f53\u83b7\u53d6\u9891\u9053\u7684Importance\u65f6,\u8fd4\u56de\u7684\u503c\u4e3a0,\u5373\u53ef\u5f97\u77e5\u8be5\u9891\u9053\u6ca1\u6709\u901a\u77e5\u6743\u9650.\u540c\u6837\u9700\u8981\u901a\u8fc7Intent\u8df3\u8f6c\u5230\u8bbe\u7f6e\u4f7f\u7528\u6237\u5f00\u542f,\u4ee3\u7801\u5982\u4e0b:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>            if (channel.getImportance().toString() == \"0\"){\n                Toast.makeText(this, \"\u8be5\u9891\u9053\u88ab\u6234\u4e0a\u4e86\u53e3\u585e,\u8bf7\u53d6\u4e0b(doge).\", Toast.LENGTH_SHORT).show()\n                val intent = Intent(Settings.ACTION_CHANNEL_NOTIFICATION_SETTINGS)\n                intent.putExtra(Settings.EXTRA_APP_PACKAGE, packageName)\n                intent.putExtra(Settings.EXTRA_CHANNEL_ID, \"1\")\n                startActivity(intent)\n            }<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"has-inline-color has-vivid-cyan-blue-color\">\u60ac\u6d6e\u901a\u77e5<\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u6ca1\u6709\u4e86\u60ac\u6d6e\u901a\u77e5\u6743\u9650,\u901a\u77e5\u7684\u4f5c\u7528\u5c31\u5c11\u4e86\u4e00\u534a,\u4e5f\u5c31\u662f\u8bf4\u5b83\u7684\u91cd\u8981\u6027\u4f4e\u4e86. \u5f53\u83b7\u53d6\u9891\u9053\u7684Importance\u65f6,\u8fd4\u56de\u7684\u503c\u4e3a3,\u5219\u4ee3\u8868\u4e0d\u80fd\u53d1\u5e03\u60ac\u6d6e\u901a\u77e5,\u540c\u6837\u9700\u8981\u7528\u6237\u5f00\u542f.\u4ee3\u7801\u5982\u4e0b:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>            if (channel.getImportance() &lt;= NotificationManager.IMPORTANCE_DEFAULT) {\/\/\u672a\u5f00\u542f\n                Toast.makeText(this, \"\u8bf7\u8bbe\u7f6e\u60ac\u6d6e\u901a\u77e5\u6743\u9650.\", Toast.LENGTH_SHORT).show()\n                val intent = Intent(Settings.ACTION_CHANNEL_NOTIFICATION_SETTINGS)\n                intent.putExtra(Settings.EXTRA_APP_PACKAGE, packageName)\n                intent.putExtra(Settings.EXTRA_CHANNEL_ID, \"1\")\n                startActivity(intent)\n            }<\/code><\/pre>\n\n\n\n<h1 class=\"has-text-align-center wp-block-heading\">\u8fdb\u884c\u901a\u77e5<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f60\u9700\u8981\u4f7f\u7528NotificationCompat.Builder(this, CHANNEL_ID)\u6765\u8bbe\u7f6e\u901a\u77e5\u5185\u5bb9,\u8be6\u7ec6\u7684\u521b\u5efa\u5185\u5bb9\u5728\u8c37\u6b4c\u5f00\u53d1\u8005\u7f51\u7ad9\u6709.\u4e00\u822c\u7684,\u6211\u4eec\u53ef\u80fd\u9700\u8981\u8fd9\u4e9b\u57fa\u672c\u5185\u5bb9<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>            val builder = NotificationCompat.Builder(this, CHANNEL_ID)\n                .setSmallIcon(R.drawable.notification_icon)\n                .setContentTitle(showtitle)\n                .setContentText(showcontent)\n                \/\/ \u901a\u77e5\u4f18\u5148\u7ea7\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u4e3aint\u578b\uff0c\u8303\u56f4-2\u81f32\n                .setPriority(NotificationCompat.PRIORITY_MAX)\n                .setCategory(NotificationCompat.CATEGORY_MESSAGE)\n                .setContentIntent(pendingIntent)\n                .setAutoCancel(true)\n                .setVisibility(VISIBILITY_PUBLIC)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u90a3\u4e48\u6211\u4eec\u8c03\u7528notificationManagerCompat.notify()\u5c31\u53ef\u4ee5\u663e\u793a\u901a\u77e5\u4e86,\u4e0e\u6b64\u540c\u65f6\u9700\u8981\u4f20\u5165\u7684\u662fCHANNAL_ID\u4ee5\u53ca\u4e0a\u65b9\u4ee3\u7801\u521b\u5efa\u7684bulider\u53d8\u91cf<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><em>with<\/em>(NotificationManagerCompat.from(this)) <strong>{<br><\/strong><strong>    <\/strong>notify(1, builder.build())<br><strong>}<\/strong><\/pre>\n\n\n\n<h1 class=\"has-text-align-center wp-block-heading\">\u7b80\u5355\u5b9e\u4f8b<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">\u8be5\u5b9e\u4f8b\u7684\u754c\u9762\u662f\u4e24\u4e2a\u6587\u672c\u8f93\u5165\u6846,\u4e00\u4e2a\u6807\u9898\u4e00\u4e2a\u5185\u5bb9\u4ee5\u53ca\u4e00\u4e2a\u80fd\u591f\u89e6\u53d1\u4e8b\u4ef6\u7684\u6309\u94ae.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">activity\u7684xml\u4ee3\u7801\u5982\u56fe<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized is-style-default\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/eelp.cn\/wp-content\/uploads\/2021\/08\/image-1.png\" alt=\"\" class=\"wp-image-209\" width=\"434\" height=\"277\" srcset=\"https:\/\/cherrysigma.com\/wp-content\/uploads\/2021\/08\/image-1.png 570w, https:\/\/cherrysigma.com\/wp-content\/uploads\/2021\/08\/image-1-300x192.png 300w\" sizes=\"auto, (max-width: 434px) 100vw, 434px\" \/><figcaption>\u5185\u5bb9<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized is-style-default\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/eelp.cn\/wp-content\/uploads\/2021\/08\/image-2.png\" alt=\"\" class=\"wp-image-210\" width=\"431\" height=\"261\" srcset=\"https:\/\/cherrysigma.com\/wp-content\/uploads\/2021\/08\/image-2.png 577w, https:\/\/cherrysigma.com\/wp-content\/uploads\/2021\/08\/image-2-300x182.png 300w\" sizes=\"auto, (max-width: 431px) 100vw, 431px\" \/><figcaption>\u6807\u9898<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized is-style-default\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/eelp.cn\/wp-content\/uploads\/2021\/08\/image-3.png\" alt=\"\" class=\"wp-image-211\" width=\"434\" height=\"343\" srcset=\"https:\/\/cherrysigma.com\/wp-content\/uploads\/2021\/08\/image-3.png 631w, https:\/\/cherrysigma.com\/wp-content\/uploads\/2021\/08\/image-3-300x238.png 300w\" sizes=\"auto, (max-width: 434px) 100vw, 434px\" \/><figcaption>\u6309\u94ae<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee3\u7801\u5757\u5982\u4e0b(\u5173\u952e\u90e8\u5206)<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">    private fun createNotificationChannel()\n    {\n            \/\/ Create the NotificationChannel, but only on API 26+ because\n            \/\/ the NotificationChannel class is new and not in the support library\n            if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.O) {\n                val name = \"APP\u6d4b\u8bd5\u9891\u9053\"\n                val descriptionText = \"\u7528\u4e8e\u6d4b\u8bd5APP\u901a\u77e5\u529f\u80fd\"\n                val importance = NotificationManager.IMPORTANCE_MAX\n                val channel = NotificationChannel(CHANNEL_ID, name, importance).apply {\n                    description = descriptionText\n                }\n                \/\/ Register the channel with the system\n                val notificationManager: NotificationManager =\n                    getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager\n                notificationManager.createNotificationChannel(channel)\n            }\n        }\n    override fun onCreate(savedInstanceState: Bundle?) {\n        super.onCreate(savedInstanceState)\n        createNotificationChannel()\n        setContentView(R.layout.activity_main)\n\n    }    \nfun showNotification(showtitle: String, showcontent: String) {\n        val version = Build.VERSION.SDK_INT\n        \/\/ Create an explicit intent for an Activity in your app\n        val intent = Intent(this, MainActivity::class.java).apply {\n            flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK\n        }\n        val pendingIntent: PendingIntent = PendingIntent.getActivity(this, 0, intent, 0)\n\n        val mNotificationManager = this.getSystemService(NOTIFICATION_SERVICE) as NotificationManager\n        if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.O) {\/\/Android 8.0\u53ca\u4ee5\u4e0a\n\n            val channel = mNotificationManager.getNotificationChannel(CHANNEL_ID);\/\/CHANNEL_ID\u662f\u81ea\u5df1\u5b9a\u4e49\u7684\u6e20\u9053ID\n            val notification = NotificationManagerCompat.from(this)\n            val isEnabled = notification.areNotificationsEnabled()\n            if (isEnabled.toString() == \"false\") {\n                Toast.makeText(this, \"APP\u6ca1\u6709\u901a\u77e5\u6743\u9650,\u8bf7\u8bbe\u7f6e\", Toast.LENGTH_SHORT).show()\n                val intent = Intent(Settings.ACTION_APP_NOTIFICATION_SETTINGS)\n                intent.putExtra(Settings.EXTRA_APP_PACKAGE, packageName)\n                intent.putExtra(Settings.EXTRA_CHANNEL_ID, \"1\")\n                startActivity(intent)\n            }\n            else if (channel.getImportance().toString() == \"0\"){\n                Toast.makeText(this, \"\u8be5\u9891\u9053\u88ab\u6234\u4e0a\u4e86\u53e3\u585e,\u8bf7\u53d6\u4e0b(doge).\", Toast.LENGTH_SHORT).show()\n                val intent = Intent(Settings.ACTION_CHANNEL_NOTIFICATION_SETTINGS)\n                intent.putExtra(Settings.EXTRA_APP_PACKAGE, packageName)\n                intent.putExtra(Settings.EXTRA_CHANNEL_ID, \"1\")\n                startActivity(intent)\n            }\n            else if (channel.getImportance() &lt;= NotificationManager.IMPORTANCE_DEFAULT) {\/\/\u672a\u5f00\u542f\n                Toast.makeText(this, \"\u8bf7\u8bbe\u7f6e\u60ac\u6d6e\u901a\u77e5\u6743\u9650.\", Toast.LENGTH_SHORT).show()\n                val intent = Intent(Settings.ACTION_CHANNEL_NOTIFICATION_SETTINGS)\n                intent.putExtra(Settings.EXTRA_APP_PACKAGE, packageName)\n                intent.putExtra(Settings.EXTRA_CHANNEL_ID, \"1\")\n                startActivity(intent)\n            }\n            \/\/ CHANNEL_ID\uff1a\u901a\u9053ID\uff0c\u53ef\u5728\u7c7b MainActivity \u5916\u81ea\u5b9a\u4e49\u3002\u5982\uff1aval CHANNEL_ID = 'msg_1'\n            val builder = NotificationCompat.Builder(this, CHANNEL_ID)\n                .setSmallIcon(R.drawable.notification_icon)\n                .setContentTitle(showtitle)\n                .setContentText(showcontent)\n                \/\/ \u901a\u77e5\u4f18\u5148\u7ea7\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u4e3aint\u578b\uff0c\u8303\u56f4-2\u81f32\n                .setPriority(NotificationCompat.PRIORITY_MAX)\n                .setCategory(NotificationCompat.CATEGORY_MESSAGE)\n                .setContentIntent(pendingIntent)\n                .setAutoCancel(true)\n                .setVisibility(VISIBILITY_PUBLIC)\n            \/\/ \u663e\u793a\u901a\u77e5\n            with(NotificationManagerCompat.from(this)) {\n                notify(1, builder.build())\n            }\n\/\/            val notification = builder.build()\n\/\/            val oldNotificationManager = getSystemService(Context.NOTIFICATION_SERVICE)\n\/\/            NotificationManagerCompat.from(this)\n        }\n    }\nfun connect(view: View) {\n    val title = findViewById&lt;EditText&gt;(R.id.<em>editTitle<\/em>)\n    val method = findViewById&lt;EditText&gt;(R.id.<em>editMethod<\/em>)\n    showNotification(title.<em>text<\/em>.toString(), method.<em>text<\/em>.toString())\n}<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6548\u679c\u5982\u56fe<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized is-style-default\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/eelp.cn\/wp-content\/uploads\/2021\/08\/Screenshot_2021-08-18-17-45-39-940_cn.eelp_.tiziap-461x1024.jpg\" alt=\"\" class=\"wp-image-215\" width=\"243\" height=\"540\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u662f\u6211\u7b2c\u4e00\u6b21\u5199\u6709\u5173\u5b89\u5353\u5f00\u53d1\u7684\u6587\u7ae0,\u96be\u514d\u6709\u5f88\u591a\u4e0d\u6070\u5f53\u4e4b\u5904,\u9ebb\u70e6\u5404\u4f4d\u6307\u51fa,\u8c22\u8c22!\u5982\u679c\u4f5c\u4e3a\u65b0\u624b\u5f00\u53d1\u9047\u5230\u4efb\u4f55\u95ee\u9898\u4e5f\u53ef\u4ee5\u95ee\u6211,\u6211\u5c06\u4f1a\u5c1d\u8bd5\u89e3\u7b54!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u540c\u6b65\u53d1\u5e03\u4e8eb\u7ad9\u4e13\u680f,\u4e3a\u672c\u4eba\u6240\u53d1. \u6211\u5728\u534a\u4e2a\u6708\u524d\u5f00\u59cb\u4e0a\u624bkotlin\u7684\u5b89\u5353\u5f00\u53d1,\u73b0\u5728\u6574\u5408\u4e00\u4e0b\u6211\u7684\u5b66\u4e60\u663e\u793a\u901a\u77e5(Notificat &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-202","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>[\u5b89\u5353\u5f00\u53d1\/kotlin]\u57fa\u7840 \u663e\u793a\u901a\u77e5\u5185\u5bb9 - Sigma Note<\/title>\n<meta name=\"description\" content=\"\u6211\u5728\u534a\u4e2a\u6708\u524d\u5f00\u59cb\u4e0a\u624bkotlin\u7684\u5b89\u5353\u5f00\u53d1,\u73b0\u5728\u6574\u5408\u4e00\u4e0b\u6211\u7684\u5b66\u4e60\u663e\u793a\u901a\u77e5(Notification)\u7684\u65b9\u6cd5,\u4f9b\u5404\u4f4d\u540e\u6765\u4eba\u53c2\u8003.\u4ee5\u4e0b\u6587\u7ae0\u5305\u62ec:\u901a\u77e5\u9891\u9053\u67e5\u8be2\u662f\u5426\u6709\u901a\u77e5\u7684\u6743\u9650\u5e76\u83b7\u53d6\u8fdb\u884c\u901a\u77e5\u7b80\u5355\u5b9e\u4f8b\u6ce8:\u8be5\u6559\u7a0b\u53ef\u80fd\u53ea\u517c\u5bb9\u5b89\u53538\u4ee5\u4e0a\u7684\u7cfb\u7edf\u535a\u5ba2\u5b98\u7f51https:\/\/eelp.cn\u6b22\u8fce.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cherrysigma.com\/?p=202\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[\u5b89\u5353\u5f00\u53d1\/kotlin]\u57fa\u7840 \u663e\u793a\u901a\u77e5\u5185\u5bb9 - Sigma Note\" \/>\n<meta property=\"og:description\" content=\"\u6211\u5728\u534a\u4e2a\u6708\u524d\u5f00\u59cb\u4e0a\u624bkotlin\u7684\u5b89\u5353\u5f00\u53d1,\u73b0\u5728\u6574\u5408\u4e00\u4e0b\u6211\u7684\u5b66\u4e60\u663e\u793a\u901a\u77e5(Notification)\u7684\u65b9\u6cd5,\u4f9b\u5404\u4f4d\u540e\u6765\u4eba\u53c2\u8003.\u4ee5\u4e0b\u6587\u7ae0\u5305\u62ec:\u901a\u77e5\u9891\u9053\u67e5\u8be2\u662f\u5426\u6709\u901a\u77e5\u7684\u6743\u9650\u5e76\u83b7\u53d6\u8fdb\u884c\u901a\u77e5\u7b80\u5355\u5b9e\u4f8b\u6ce8:\u8be5\u6559\u7a0b\u53ef\u80fd\u53ea\u517c\u5bb9\u5b89\u53538\u4ee5\u4e0a\u7684\u7cfb\u7edf\u535a\u5ba2\u5b98\u7f51https:\/\/eelp.cn\u6b22\u8fce.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cherrysigma.com\/?p=202\" \/>\n<meta property=\"og:site_name\" content=\"Sigma Note\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-18T09:20:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-18T09:49:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/eelp.cn\/wp-content\/uploads\/2021\/08\/image.png\" \/>\n<meta name=\"author\" content=\"jackwu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"jackwu\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/cherrysigma.com\\\/?p=202#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cherrysigma.com\\\/?p=202\"},\"author\":{\"name\":\"jackwu\",\"@id\":\"https:\\\/\\\/cherrysigma.com\\\/#\\\/schema\\\/person\\\/519e10b3e4389eb049dda8e062b5c48d\"},\"headline\":\"[\u5b89\u5353\u5f00\u53d1\\\/kotlin]\u57fa\u7840 \u663e\u793a\u901a\u77e5\u5185\u5bb9\",\"datePublished\":\"2021-08-18T09:20:36+00:00\",\"dateModified\":\"2021-08-18T09:49:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/cherrysigma.com\\\/?p=202\"},\"wordCount\":43,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/cherrysigma.com\\\/#\\\/schema\\\/person\\\/519e10b3e4389eb049dda8e062b5c48d\"},\"image\":{\"@id\":\"https:\\\/\\\/cherrysigma.com\\\/?p=202#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/eelp.cn\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/image.png\",\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/cherrysigma.com\\\/?p=202#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cherrysigma.com\\\/?p=202\",\"url\":\"https:\\\/\\\/cherrysigma.com\\\/?p=202\",\"name\":\"[\u5b89\u5353\u5f00\u53d1\\\/kotlin]\u57fa\u7840 \u663e\u793a\u901a\u77e5\u5185\u5bb9 - Sigma Note\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cherrysigma.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/cherrysigma.com\\\/?p=202#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/cherrysigma.com\\\/?p=202#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/eelp.cn\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/image.png\",\"datePublished\":\"2021-08-18T09:20:36+00:00\",\"dateModified\":\"2021-08-18T09:49:29+00:00\",\"description\":\"\u6211\u5728\u534a\u4e2a\u6708\u524d\u5f00\u59cb\u4e0a\u624bkotlin\u7684\u5b89\u5353\u5f00\u53d1,\u73b0\u5728\u6574\u5408\u4e00\u4e0b\u6211\u7684\u5b66\u4e60\u663e\u793a\u901a\u77e5(Notification)\u7684\u65b9\u6cd5,\u4f9b\u5404\u4f4d\u540e\u6765\u4eba\u53c2\u8003.\u4ee5\u4e0b\u6587\u7ae0\u5305\u62ec:\u901a\u77e5\u9891\u9053\u67e5\u8be2\u662f\u5426\u6709\u901a\u77e5\u7684\u6743\u9650\u5e76\u83b7\u53d6\u8fdb\u884c\u901a\u77e5\u7b80\u5355\u5b9e\u4f8b\u6ce8:\u8be5\u6559\u7a0b\u53ef\u80fd\u53ea\u517c\u5bb9\u5b89\u53538\u4ee5\u4e0a\u7684\u7cfb\u7edf\u535a\u5ba2\u5b98\u7f51https:\\\/\\\/eelp.cn\u6b22\u8fce.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cherrysigma.com\\\/?p=202#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/cherrysigma.com\\\/?p=202\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/cherrysigma.com\\\/?p=202#primaryimage\",\"url\":\"https:\\\/\\\/eelp.cn\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/image.png\",\"contentUrl\":\"https:\\\/\\\/eelp.cn\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/image.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cherrysigma.com\\\/?p=202#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\\\/\\\/cherrysigma.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[\u5b89\u5353\u5f00\u53d1\\\/kotlin]\u57fa\u7840 \u663e\u793a\u901a\u77e5\u5185\u5bb9\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cherrysigma.com\\\/#website\",\"url\":\"https:\\\/\\\/cherrysigma.com\\\/\",\"name\":\"Jack's blog\",\"description\":\"\u4e00\u4e2a\u666e\u901a\u9ad8\u6728\u53a8\u7684\u5c0f\u7a7a\u95f4\",\"publisher\":{\"@id\":\"https:\\\/\\\/cherrysigma.com\\\/#\\\/schema\\\/person\\\/519e10b3e4389eb049dda8e062b5c48d\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/cherrysigma.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/cherrysigma.com\\\/#\\\/schema\\\/person\\\/519e10b3e4389eb049dda8e062b5c48d\",\"name\":\"jackwu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/cherrysigma.com\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/1633305797498-1.jpg\",\"url\":\"https:\\\/\\\/cherrysigma.com\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/1633305797498-1.jpg\",\"contentUrl\":\"https:\\\/\\\/cherrysigma.com\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/1633305797498-1.jpg\",\"width\":570,\"height\":564,\"caption\":\"jackwu\"},\"logo\":{\"@id\":\"https:\\\/\\\/cherrysigma.com\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/1633305797498-1.jpg\"},\"sameAs\":[\"https:\\\/\\\/eelp.cn\"],\"url\":\"https:\\\/\\\/cherrysigma.com\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[\u5b89\u5353\u5f00\u53d1\/kotlin]\u57fa\u7840 \u663e\u793a\u901a\u77e5\u5185\u5bb9 - Sigma Note","description":"\u6211\u5728\u534a\u4e2a\u6708\u524d\u5f00\u59cb\u4e0a\u624bkotlin\u7684\u5b89\u5353\u5f00\u53d1,\u73b0\u5728\u6574\u5408\u4e00\u4e0b\u6211\u7684\u5b66\u4e60\u663e\u793a\u901a\u77e5(Notification)\u7684\u65b9\u6cd5,\u4f9b\u5404\u4f4d\u540e\u6765\u4eba\u53c2\u8003.\u4ee5\u4e0b\u6587\u7ae0\u5305\u62ec:\u901a\u77e5\u9891\u9053\u67e5\u8be2\u662f\u5426\u6709\u901a\u77e5\u7684\u6743\u9650\u5e76\u83b7\u53d6\u8fdb\u884c\u901a\u77e5\u7b80\u5355\u5b9e\u4f8b\u6ce8:\u8be5\u6559\u7a0b\u53ef\u80fd\u53ea\u517c\u5bb9\u5b89\u53538\u4ee5\u4e0a\u7684\u7cfb\u7edf\u535a\u5ba2\u5b98\u7f51https:\/\/eelp.cn\u6b22\u8fce.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cherrysigma.com\/?p=202","og_locale":"zh_CN","og_type":"article","og_title":"[\u5b89\u5353\u5f00\u53d1\/kotlin]\u57fa\u7840 \u663e\u793a\u901a\u77e5\u5185\u5bb9 - Sigma Note","og_description":"\u6211\u5728\u534a\u4e2a\u6708\u524d\u5f00\u59cb\u4e0a\u624bkotlin\u7684\u5b89\u5353\u5f00\u53d1,\u73b0\u5728\u6574\u5408\u4e00\u4e0b\u6211\u7684\u5b66\u4e60\u663e\u793a\u901a\u77e5(Notification)\u7684\u65b9\u6cd5,\u4f9b\u5404\u4f4d\u540e\u6765\u4eba\u53c2\u8003.\u4ee5\u4e0b\u6587\u7ae0\u5305\u62ec:\u901a\u77e5\u9891\u9053\u67e5\u8be2\u662f\u5426\u6709\u901a\u77e5\u7684\u6743\u9650\u5e76\u83b7\u53d6\u8fdb\u884c\u901a\u77e5\u7b80\u5355\u5b9e\u4f8b\u6ce8:\u8be5\u6559\u7a0b\u53ef\u80fd\u53ea\u517c\u5bb9\u5b89\u53538\u4ee5\u4e0a\u7684\u7cfb\u7edf\u535a\u5ba2\u5b98\u7f51https:\/\/eelp.cn\u6b22\u8fce.","og_url":"https:\/\/cherrysigma.com\/?p=202","og_site_name":"Sigma Note","article_published_time":"2021-08-18T09:20:36+00:00","article_modified_time":"2021-08-18T09:49:29+00:00","og_image":[{"url":"https:\/\/eelp.cn\/wp-content\/uploads\/2021\/08\/image.png","type":"","width":"","height":""}],"author":"jackwu","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"jackwu","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cherrysigma.com\/?p=202#article","isPartOf":{"@id":"https:\/\/cherrysigma.com\/?p=202"},"author":{"name":"jackwu","@id":"https:\/\/cherrysigma.com\/#\/schema\/person\/519e10b3e4389eb049dda8e062b5c48d"},"headline":"[\u5b89\u5353\u5f00\u53d1\/kotlin]\u57fa\u7840 \u663e\u793a\u901a\u77e5\u5185\u5bb9","datePublished":"2021-08-18T09:20:36+00:00","dateModified":"2021-08-18T09:49:29+00:00","mainEntityOfPage":{"@id":"https:\/\/cherrysigma.com\/?p=202"},"wordCount":43,"commentCount":0,"publisher":{"@id":"https:\/\/cherrysigma.com\/#\/schema\/person\/519e10b3e4389eb049dda8e062b5c48d"},"image":{"@id":"https:\/\/cherrysigma.com\/?p=202#primaryimage"},"thumbnailUrl":"https:\/\/eelp.cn\/wp-content\/uploads\/2021\/08\/image.png","inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/cherrysigma.com\/?p=202#respond"]}]},{"@type":"WebPage","@id":"https:\/\/cherrysigma.com\/?p=202","url":"https:\/\/cherrysigma.com\/?p=202","name":"[\u5b89\u5353\u5f00\u53d1\/kotlin]\u57fa\u7840 \u663e\u793a\u901a\u77e5\u5185\u5bb9 - Sigma Note","isPartOf":{"@id":"https:\/\/cherrysigma.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cherrysigma.com\/?p=202#primaryimage"},"image":{"@id":"https:\/\/cherrysigma.com\/?p=202#primaryimage"},"thumbnailUrl":"https:\/\/eelp.cn\/wp-content\/uploads\/2021\/08\/image.png","datePublished":"2021-08-18T09:20:36+00:00","dateModified":"2021-08-18T09:49:29+00:00","description":"\u6211\u5728\u534a\u4e2a\u6708\u524d\u5f00\u59cb\u4e0a\u624bkotlin\u7684\u5b89\u5353\u5f00\u53d1,\u73b0\u5728\u6574\u5408\u4e00\u4e0b\u6211\u7684\u5b66\u4e60\u663e\u793a\u901a\u77e5(Notification)\u7684\u65b9\u6cd5,\u4f9b\u5404\u4f4d\u540e\u6765\u4eba\u53c2\u8003.\u4ee5\u4e0b\u6587\u7ae0\u5305\u62ec:\u901a\u77e5\u9891\u9053\u67e5\u8be2\u662f\u5426\u6709\u901a\u77e5\u7684\u6743\u9650\u5e76\u83b7\u53d6\u8fdb\u884c\u901a\u77e5\u7b80\u5355\u5b9e\u4f8b\u6ce8:\u8be5\u6559\u7a0b\u53ef\u80fd\u53ea\u517c\u5bb9\u5b89\u53538\u4ee5\u4e0a\u7684\u7cfb\u7edf\u535a\u5ba2\u5b98\u7f51https:\/\/eelp.cn\u6b22\u8fce.","breadcrumb":{"@id":"https:\/\/cherrysigma.com\/?p=202#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cherrysigma.com\/?p=202"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/cherrysigma.com\/?p=202#primaryimage","url":"https:\/\/eelp.cn\/wp-content\/uploads\/2021\/08\/image.png","contentUrl":"https:\/\/eelp.cn\/wp-content\/uploads\/2021\/08\/image.png"},{"@type":"BreadcrumbList","@id":"https:\/\/cherrysigma.com\/?p=202#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/cherrysigma.com\/"},{"@type":"ListItem","position":2,"name":"[\u5b89\u5353\u5f00\u53d1\/kotlin]\u57fa\u7840 \u663e\u793a\u901a\u77e5\u5185\u5bb9"}]},{"@type":"WebSite","@id":"https:\/\/cherrysigma.com\/#website","url":"https:\/\/cherrysigma.com\/","name":"Jack's blog","description":"\u4e00\u4e2a\u666e\u901a\u9ad8\u6728\u53a8\u7684\u5c0f\u7a7a\u95f4","publisher":{"@id":"https:\/\/cherrysigma.com\/#\/schema\/person\/519e10b3e4389eb049dda8e062b5c48d"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cherrysigma.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/cherrysigma.com\/#\/schema\/person\/519e10b3e4389eb049dda8e062b5c48d","name":"jackwu","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/cherrysigma.com\/wp-content\/uploads\/2021\/12\/1633305797498-1.jpg","url":"https:\/\/cherrysigma.com\/wp-content\/uploads\/2021\/12\/1633305797498-1.jpg","contentUrl":"https:\/\/cherrysigma.com\/wp-content\/uploads\/2021\/12\/1633305797498-1.jpg","width":570,"height":564,"caption":"jackwu"},"logo":{"@id":"https:\/\/cherrysigma.com\/wp-content\/uploads\/2021\/12\/1633305797498-1.jpg"},"sameAs":["https:\/\/eelp.cn"],"url":"https:\/\/cherrysigma.com\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/cherrysigma.com\/index.php?rest_route=\/wp\/v2\/posts\/202","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cherrysigma.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cherrysigma.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cherrysigma.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cherrysigma.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=202"}],"version-history":[{"count":9,"href":"https:\/\/cherrysigma.com\/index.php?rest_route=\/wp\/v2\/posts\/202\/revisions"}],"predecessor-version":[{"id":218,"href":"https:\/\/cherrysigma.com\/index.php?rest_route=\/wp\/v2\/posts\/202\/revisions\/218"}],"wp:attachment":[{"href":"https:\/\/cherrysigma.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cherrysigma.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cherrysigma.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}