Merge "Modify API return type and add callback."
am: f96cc08066

Change-Id: I8d8ff3efd4666c4548dfe8a142ae0ad3f0b34b2c