P- the peripheral type the event is defined for.
public interface RegistrationListener<P extends Peripheral<? super P>> extends java.util.EventListener
RegistrationListenerinterface defines methods for getting notified of the registration and unregistration of peripheral devices.
RegistrationListenercan be registered using the
void peripheralRegistered(RegistrationEvent<P> event)
event- the peripheral registration event that occurred.
Copyright © 2012, 2014, Oracle and/or its affiliates. All rights reserved.