Class SlotHandle

Definition

Namespace:
Tizen.Telephony
Assembly:
Tizen.Telephony.dll

This class provides APIs that provide functionality related to the slot handle.

C#
Copy
public class SlotHandle
Inheritance
object
SlotHandle

Methods

View Source

RemoveNotificationId(IEnumerable<Notification>)

The notification IDs for which the ChangeNotification event will not be triggered.

Declaration
C#
Copy
public void RemoveNotificationId(IEnumerable<ChangeNotificationEventArgs.Notification> list)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<T><ChangeNotificationEventArgs.Notification> list

The list of notification IDs for which the ChangeNotification event will be not be triggered.

Exceptions
Type Condition
System.NotSupportedException

The required feature is not supported.

System.InvalidOperationException

This Exception can occur due to:

  1. Operation not supported.
  2. Operation failed.
View Source

SetNotificationId(IEnumerable<Notification>)

The notification IDs for which the ChangeNotification event will be triggered.

Declaration
C#
Copy
public void SetNotificationId(IEnumerable<ChangeNotificationEventArgs.Notification> list)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<T><ChangeNotificationEventArgs.Notification> list

The list of notification IDs for which the ChangeNotification event will be triggered.

Exceptions
Type Condition
System.NotSupportedException

The required feature is not supported.

System.InvalidOperationException

This Exception can occur due to:

  1. Operation not supported.
  2. Operation failed.

Events

View Source

ChangeNotification

The event handler for receiving the Telephony state changes. This event will be triggered for the NotificationIds given in the SetNotificationId API.

Declaration
C#
Copy
public event EventHandler<ChangeNotificationEventArgs> ChangeNotification
Event Type
Type Description
System.EventHandler<TEventArgs><ChangeNotificationEventArgs>