Delete Object

Last updated 3 months ago

No needs anymore for an Object? Just delete it already!

Simple way

Java
Swift
import com.parse.ParseObject;
public void deleteObject(ParseObject object)
{
object.deleteInBackground();
}

With Callback

Java
Swift
import com.parse.ParseObject;
import com.parse.DeleteCallback;
import com.parse.ParseException;
public void deleteObject(ParseObject object)
{
object.deleteInBackground(new DeleteCallback()
{
@Override
public void done(ParseException e)
{
}
});
}