public interface WlDataOfferEventsV2 extends WlDataOfferEvents
A wl_data_offer represents a piece of data offered for transfer by another client (the source client). It is used by the copy-and-paste and drag-and-drop mechanisms. The offer describes the different mime types that the data can be converted to and provides the mechanism for transferring the data directly from the source client.
| Modifier and Type | Field and Description |
|---|---|
static int |
VERSION |
| Modifier and Type | Method and Description |
|---|---|
void |
offer(WlDataOfferProxy emitter,
String mimeType)
advertise offered mime type
|
static final int VERSION
void offer(WlDataOfferProxy emitter, @Nonnull String mimeType)
Sent immediately after creating the wl_data_offer object. One event per offered mime type.
offer in interface WlDataOfferEventsemitter - The protocol object that emitted the event.mimeType - offered mime typeCopyright © 2016. All rights reserved.