Start focus mode from MacOS SDK

Description
I need to start focus mode from MacOS SDK. I could not find any method to do that in the SDK. Please let me know if there is one.