Tizen/a>.Applications/a>/nAssembly:Tizen.Applications.Alarm.dll/nThe alarm API allows setting an "alarm clock" for the delivery of a notification at some point in the future.<\/p>\n<pre class=\"shiki shiki-themes github-light github-dark\" style=\"background-color:#fff;--shiki-dark-bg:#24292e;color:#24292e;--shiki-dark:#e1e4e8;\"><code><span class=\"line\"><span style=\"color:#D73A49;--shiki-dark:#F97583\">public<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#D73A49;--shiki-dark:#F97583\">class<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#6F42C1;--shiki-dark:#B392F0\">Alarm<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre>\n<p>Inheritance<\/p>\n<p>object\nAlarm<\/p>\n<h5 id=\"content-examples\"><a href=https://samsungtizenos.com/"#content-examples\" class=\"heading-permalink\" aria-hidden=\"true\" title=\"Permalink\">\u00b6<\/a><strong>Examples<\/strong><\/h5>\n<pre class=\"shiki shiki-themes github-light github-dark\" style=\"background-color:#fff;--shiki-dark-bg:#24292e;color:#24292e;--shiki-dark:#e1e4e8;\"><code><span class=\"line\"><span style=\"color:#D73A49;--shiki-dark:#F97583\">public<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#D73A49;--shiki-dark:#F97583\">class<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#6F42C1;--shiki-dark:#B392F0\">AlarmExample<\/span><\/span>\n<span class=\"line\"><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color:#6A737D;--shiki-dark:#6A737D\">\/\/\/ ...<\/span><\/span>\n<span class=\"line\"><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">IEnumerable<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#D73A49;--shiki-dark:#F97583\"><<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">Alarm<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#D73A49;--shiki-dark:#F97583\">><\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">alarms<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#D73A49;--shiki-dark:#F97583\">=<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">AlarmManager<\/span><span style=\"color:#D73A49;--shiki-dark:#F97583\">.<\/span><span style=\"color:#6F42C1;--shiki-dark:#B392F0\">GetAllScheduledAlarms<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">alarms<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">[<\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">0<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">]<\/span><span style=\"color:#D73A49;--shiki-dark:#F97583\">.<\/span><span style=\"color:#6F42C1;--shiki-dark:#B392F0\">Cancel<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">}<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre>\n<h2 id=\"content-properties\"><a href=https://samsungtizenos.com/"#content-properties\" class=\"heading-permalink\" aria-hidden=\"true\" title=\"Permalink\">\u00b6<\/a>Properties<\/h2>\n<p><a href=https://samsungtizenos.com/"https:////github.com//Samsung//TizenFX//blob//main//src//Tizen.Applications.Alarm//Tizen.Applications//Alarm.cs//#L196\">View Source<\/a><\/p>\n<h4 id=\"content-alarmappcontrol\"><a href=https://samsungtizenos.com/"#content-alarmappcontrol\" class=\"heading-permalink\" aria-hidden=\"true\" title=\"Permalink\">\u00b6<\/a>AlarmAppControl<\/h4>\n<p>Gets the AppControl to be invoked when the the alarm is triggered.<\/p>\n<h5 id=\"content-declaration\"><a href=https://samsungtizenos.com/"#content-declaration\" class=\"heading-permalink\" aria-hidden=\"true\" title=\"Permalink\">\u00b6<\/a>Declaration<\/h5>\n<pre class=\"shiki shiki-themes github-light github-dark\" style=\"background-color:#fff;--shiki-dark-bg:#24292e;color:#24292e;--shiki-dark:#e1e4e8;\"><code><span class=\"line\"><span style=\"color:#D73A49;--shiki-dark:#F97583\">public<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">AppControl<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">AlarmAppControl<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> { <\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">get<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">; }<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre>\n<h5 id=\"content-property-value\"><a href=https://samsungtizenos.com/"#content-property-value\" class=\"heading-permalink\" aria-hidden=\"true\" title=\"Permalink\">\u00b6<\/a>Property Value<\/h5>\n<div class=\"overflow-auto grid table-fixed\" data-table-container=\"data-table-container\"><table>\n<thead>\n<tr>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><a href=https://samsungtizenos.com/"Tizen.Applications.AppControl.md/">AppControl/a>/td>/n/td>/n/tr>/n/tbody>/n/table>/div>/n /td>/n/tr>/n/tbody>/n/table>/div>/n
We use cookies to ensure the proper functioning of our site, to remember your preferences (such as global messages and release notes), and to analyze traffic. You can change your preferences at any time.
Read our cookie & privacy policy
Public Forum
Public Forum
Employees only. Please sign in with your company account.
We use cookies to ensure the proper functioning of our site, to remember your preferences (such as global messages and release notes), and to analyze traffic. You can change your preferences at any time. Read our cookie & privacy policy
Public Forum
Public Forum
Employees only. Please sign in with your company account.