Function PopupMenu.getItemMetadata
Returns the metadata of the specified item, which might be of any type. You can set it with setItemMetadata
, which provides a simple way of assigning context data to items.
Returns the metadata of the specified item, which might be of any type. You can set it with setItemMetadata
, which provides a simple way of assigning context data to items.