InnerNotification

public abstract class InnerNotification<Type, Extension> extends Object

Interface for subscribing to notifications from the tag.

Constructors

Name Description
public InnerNotification()

Methods

getExtensionType

protected abstract <ProtoNotification extends ExtendableMessage> getExtensionType()

ReturnValue

Name Description

extract

public <ProtoNotification extends ExtendableMessage>Type extract(ProtoNotification notification)

Extracts the payload from the notification. Returns null of the notification is not the expected notification.

Parameters

Name Description
ProtoNotification notification

ReturnValue

Name Description
Type

getNotification

protected abstract Type getNotification(Extension extension)

Parameters

Name Description
Extension extension

ReturnValue

Name Description
Type