public class ServiceNotification
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
NotificationBuilder |
builder |
Constructor and Description |
---|
ServiceNotification(android.app.Service service,
android.app.NotificationManager notificationManager) |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
<T extends NotificationBuilder> |
getBuilder() |
void |
setBuilder(NotificationBuilder builder) |
ServiceNotification |
show(int id) |
ServiceNotification |
update() |
@Nullable public NotificationBuilder builder
public ServiceNotification(@NonNull android.app.Service service, @NonNull android.app.NotificationManager notificationManager)
public ServiceNotification show(int id)
public ServiceNotification update()
public void setBuilder(@Nullable NotificationBuilder builder)
public <T extends NotificationBuilder> T getBuilder()
public void cancel()