java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.NotificationSound>
it.tdlight.jni.TdApi.AddSavedNotificationSound
- Enclosing class:
- TdApi
public static final class TdApi.AddSavedNotificationSound
extends TdApi.Function<TdApi.NotificationSound>
Adds a new notification sound to the
list of saved notification sounds.
The new notification sound is added
to the top of the list. If it is
already in the list, its position isn't changed.
Returns
NotificationSound
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Notification sound file to add. -
Constructor Summary
ConstructorDescriptionAdds a new notification sound to the list of saved notification sounds.Adds a new notification sound to the list of saved notification sounds.Adds a new notification sound to the list of saved notification sounds. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
sound
Notification sound file to add. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
AddSavedNotificationSound
public AddSavedNotificationSound()Adds a new notification sound to the list of saved notification sounds. The new notification sound is added to the top of the list. If it is already in the list, its position isn't changed. ReturnsNotificationSound
-
AddSavedNotificationSound
Adds a new notification sound to the list of saved notification sounds. The new notification sound is added to the top of the list. If it is already in the list, its position isn't changed. ReturnsNotificationSound
- Parameters:
sound
- InputFile Notification sound file to add.
-
AddSavedNotificationSound
Adds a new notification sound to the list of saved notification sounds. The new notification sound is added to the top of the list. If it is already in the list, its position isn't changed. ReturnsNotificationSound
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-