# VKSession.start(function callback)
Start from base library version 2.20.0. Please remaining backward compatible.
with Promise style call: Not supported
Mini Program plugin: Not supported
Start the session.
# parameter
# function callback
Open session callback
# parameter
# number status
status Legal value
value | Introductions | Minimum version |
---|---|---|
0 | success | |
2000001 | Parameter error | |
2003000 | Session not available | |
2000000 | System error | |
2000002 | Device not supported | |
2000003 | System not supported | |
2003001 | Unenabled system camera permissions | |
2003002 | Open Mini Program camera permissions |