{% setvar book_path %}/reference/dokkatest/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

SamplerKt

{% setvar page_path %}dokkatest/sampleAnnotation/SamplerKt.html{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "reference/_java_switcher2.md" %}

public final class SamplerKt


Summary

Public fields

final @NonNull Pair<@NonNull Float, @NonNull Float>

top-level extension property docs

final @Nullable Unit

top-level non-extension property docs

Public methods

static final @NonNull Pair<@NonNull Float, @NonNull Float>

top-level extension function docs

static final @Nullable Unit

top-level non-extension function docs

Public fields

topLevelExtensionProperty

@NonNull
public final @NonNull Pair<@NonNull Float, @NonNull FloattopLevelExtensionProperty

top-level extension property docs

import androidx.notARealLibrary.Thingy1

class CustomPainter() {

    val size: Pair<Float, Float>
        get() = Pair(300.0f, 300.0f)

    override fun toString(): String {
        return "ahahahaha"
    }

    val weAreUsingThingy1 = Thingy1()

}

and after some text, we have another sample

import androidx.anotherFakeLibrary.FooFooFoo

val weAreUsingFooFooFoo by lazy { FooFooFoo() }

topLevelProperty

@Nullable
public final @Nullable Unit topLevelProperty

top-level non-extension property docs

import androidx.notARealLibrary.Thingy1

class CustomPainter() {

    val size: Pair<Float, Float>
        get() = Pair(300.0f, 300.0f)

    override fun toString(): String {
        return "ahahahaha"
    }

    val weAreUsingThingy1 = Thingy1()

}

Public methods

topLevelExtensionFunction

@NonNull
public static final Pair<@NonNull Float, @NonNull FloattopLevelExtensionFunction(@NonNull List<@NonNull String> receiver)

top-level extension function docs

import androidx.notARealLibrary.Thingy1

class CustomPainter() {

    val size: Pair<Float, Float>
        get() = Pair(300.0f, 300.0f)

    override fun toString(): String {
        return "ahahahaha"
    }

    val weAreUsingThingy1 = Thingy1()

}

topLevelFunction

@Nullable
public static final Unit topLevelFunction()

top-level non-extension function docs

import androidx.notARealLibrary.Thingy1

class CustomPainter() {

    val size: Pair<Float, Float>
        get() = Pair(300.0f, 300.0f)

    override fun toString(): String {
        return "ahahahaha"
    }

    val weAreUsingThingy1 = Thingy1()

}