A photoelectrochemical type self-powered ultraviolet photodetector based on GaN porous films