How to change road traffic rules?

I’m currently creating android app. Is there a way how to change a specific road to have a traffic rule like one-way rule? I’m planning to set a traffic rule before generating route.

Thanks in advance.

Currently this is not possible, but there was very recently some changes on master to do that: or