WatchKit.WKInterfaceController.GetContextsForSegue Method
In response to a table-row tap leading to a page-based UI, returns the context objects to be passed to the WatchKit.WKInterfaceController objects' WKInterfaceController.Awake methods.

Syntax

[Foundation.Export("contextsForSegueWithIdentifier:inTable:rowIndex:")]
public virtual Foundation.NSObject[] GetContextsForSegue (string segueIdentifier, WKInterfaceTable table, nint rowIndex)

Parameters

segueIdentifier
The segue that is about to occur.
table
The table in which the selection occurred.
rowIndex
The row tapped.

Returns

Contexts for the WKInterfaceController.Awake methods of the upcoming page-based UI.

Remarks

The size of the returned array must equal the number of pages in the target page-based UI.

Requirements

Namespace: WatchKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0