Question [Q] Porting WiFI Direct sharing from Samsung Devices

Is it possible to port the built in wifi direct sharing option from Samsung devices to our device ??