Husk the corn, cut it in half, and slice the kernels off the cob. Keep the stripped cobs.
Rinse the rice under cold water until it runs mostly clear, then drain well.
Put the rice in the rice cooker pot and add water to the 2-cup line. Soak 30 minutes to 1 hour, then add the salt and stir gently to dissolve.
Scatter the corn kernels over the rice and lay the stripped cobs on top. Do not stir. Cook on the normal rice setting.
When done, remove the cobs and fluff the rice gently from the bottom, folding the corn through.
Scoop into bowls and serve warm.