RequiresApi vs TargetApi android annotations : <p>Whats the difference between <code>RequiresApi</code> and <code>TargetApi</code>?</p>

<p>Sample in kotlin:</p>

<pre><code>@RequiresApi(api = Build.VERSION_CODES.M)
@TargetApi(Build.VERSION_CODES.M)
class FingerprintHandlerM() : FingerprintManager.AuthenticationCallback()
</code></pre>

<p><em>NOTE: <code>FingerprintManager.AuthenticationCallback</code> requires api <code>M</code></em></p>

<p><em>NOTE 2: if I dont use TargetApi lint fail with error <code>class requires api level 23...</code></em></p>
