gif(opts? : SocialOptions, callback? : () => void) : void;
gif(opts? : string, callback? : () => void) : void;
Triggers the device to take a 90 frame gif. While this function returns instantly, the gif will not start being taken until the next frame is rendered to the screen.
|opts||optional, string or SocialOptions||If a string it will be used as the message to pre-fill in any share dialog presented to the user, overriding any value set with the
|callback||optional, function||The function will be called once the gif has finished being taken. Use to restore any UI that was hidden for the gif taking process.|