다음을 통해 공유


AlarmManager.IOnAlarmListener.OnAlarm Method

Definition

Callback method that is invoked by the system when the alarm time is reached.

[Android.Runtime.Register("onAlarm", "()V", "GetOnAlarmHandler:Android.App.AlarmManager/IOnAlarmListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
public void OnAlarm ();
[<Android.Runtime.Register("onAlarm", "()V", "GetOnAlarmHandler:Android.App.AlarmManager/IOnAlarmListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member OnAlarm : unit -> unit
Attributes

Remarks

Callback method that is invoked by the system when the alarm time is reached.

Java documentation for android.app.AlarmManager.OnAlarmListener.onAlarm().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to