finish camera api