android $ NativeNotificationBuilder :: SELF
Type of this instance, automatically specialized in every classcore :: Pointer :: address_is_null
Is the address behind this Object at NULL?core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
core :: Object :: defaultinit
core :: Pointer :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).
extern class NativeNotificationBuilder in "Java" `{ android.app.Notification$Builder `}
new (context: NativeContext) in "Java" `{ return new Notification.Builder(context); `}
fun create: NativeNotification in "Java" `{
// Deprecated since API 16, which introduces `build`,
// refinement and global compilation should prevent warnings.
return self.getNotification();
`}
fun title=(value: JavaString) in "Java" `{ self.setContentTitle(value); `}
fun text=(value: JavaString) in "Java" `{ self.setContentText(value); `}
fun ticker=(value: JavaString) in "Java" `{ self.setTicker(value); `}
fun small_icon=(value: Int) in "Java" `{ self.setSmallIcon((int)value); `}
fun auto_cancel=(value: Bool) in "Java" `{ self.setAutoCancel(value); `}
fun number=(value: Int) in "Java" `{ self.setNumber((int)value); `}
fun ongoing=(value: Bool) in "Java" `{ self.setOngoing(value); `}
end
lib/android/notification/native_notification.nit:48,1--71,3