# ContextMenu.ContextMenuInfo

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# ContextMenuInfo

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/view/ContextMenu.ContextMenuInfo "View this page in Java")  

```
interface ContextMenuInfo
```

|--------------------------------------------------------------------------------------------------------------------------------------|
| [android.view.ContextMenu.ContextMenuInfo](https://developer.android.com/reference/kotlin/android/view/ContextMenu.ContextMenuInfo#) |

|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known Direct Subclasses [AdapterView.AdapterContextMenuInfo](https://developer.android.com/reference/kotlin/android/widget/AdapterView.AdapterContextMenuInfo.html#),[ExpandableListView.ExpandableListContextMenuInfo](https://developer.android.com/reference/kotlin/android/widget/ExpandableListView.ExpandableListContextMenuInfo.html#) |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [AdapterView.AdapterContextMenuInfo](https://developer.android.com/reference/kotlin/android/widget/AdapterView.AdapterContextMenuInfo.html#)                             | Extra menu information provided to the[android.view.View.OnCreateContextMenuListener#onCreateContextMenu(ContextMenu, View, ContextMenuInfo)](https://developer.android.com/reference/kotlin/android/view/View.OnCreateContextMenuListener#onCreateContextMenu(android.view.ContextMenu,%20android.view.View,%20android.view.ContextMenu.ContextMenuInfo))callback when a context menu is brought up for this AdapterView.                                                                                                                           | | [ExpandableListView.ExpandableListContextMenuInfo](https://developer.android.com/reference/kotlin/android/widget/ExpandableListView.ExpandableListContextMenuInfo.html#) | Extra menu information specific to an[ExpandableListView](https://developer.android.com/reference/kotlin/android/widget/ExpandableListView.html#)provided to the[android.view.View.OnCreateContextMenuListener#onCreateContextMenu(ContextMenu, View, ContextMenuInfo)](https://developer.android.com/reference/kotlin/android/view/View.OnCreateContextMenuListener#onCreateContextMenu(android.view.ContextMenu,%20android.view.View,%20android.view.ContextMenu.ContextMenuInfo))callback when a context menu is brought up for this AdapterView. | |

Additional information regarding the creation of the context menu. For example,[AdapterView](https://developer.android.com/reference/kotlin/android/widget/AdapterView.html#)s use this to pass the exact item position within the adapter that initiated the context menu.

## Summary