Device


new Device(opts)

Snapchat wrapper for chat-related API calls.

Parameters:
Name Type Description
opts Object
Source:

Methods


sendDidCloseAppEvent(cb)

Sends the "app did close" event to Snapchat.

Parameters:
Name Type Description
cb function
Source:

sendDidOpenAppEvent(cb)

Sends the "app did open" event to Snapchat.

Parameters:
Name Type Description
cb function
Source: