Navigation
Control navigation and routing behavior.
| Parameter | Type | Description | Effect |
| instantRedirect | string | Path to redirect to | Immediately navigates to specified route after verification |
Note: Path will be normalized (leading / added if missing).
Navigation Control
Swift example:
1// Via customParams
2kinestex.createView(
3 customParams: [
4 "instantRedirect": "/workout/start"
5 ]
6)Kotlin example:
// Via customParams
KinesteXSDK.createView(
customParams = mutableMapOf(
"instantRedirect" to "/workout/start"
)
)React Native example:
// Via customParameters
const postData: IPostData = {
key: 'YOUR_API_KEY',
userId: 'user-123',
company: 'YOUR_COMPANY',
customParameters: {
instantRedirect: '/workout/start',
},
};Flutter example:
// Via customParams
KinesteXAIFramework.createMainView( // or any other create*View method
customParams: {
"instantRedirect": "/workout/start",
},
);HTML & JS example:
// Direct in postData object
const postData = {
userId: "user-123",
company: "YOUR_COMPANY",
key: "YOUR_API_KEY",
instantRedirect: "/workout/start",
};React TS (Web) example:
// Via customParameters
const postData: IPostData = {
key: 'YOUR_API_KEY',
userId: 'user-123',
company: 'YOUR_COMPANY',
customParameters: {
instantRedirect: '/workout/start',
},
};