Package io.cobrowse

Class CobrowseRedactedModifierKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Modifier redacted(Modifier $self, LifecycleOwner lifecycleOwner) Apply this modified to your composable to be redacted, like so:
      import io.cobrowse.redacted
      
      Text("Redacted",
           modifier = Modifier
               .background(Color.Red)
               // Other modifiers...
               .redacted())
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • redacted

        @Composable() final static Modifier redacted(Modifier $self, LifecycleOwner lifecycleOwner)

        Apply this modified to your composable to be redacted, like so:

        import io.cobrowse.redacted
        
        Text("Redacted",
             modifier = Modifier
                 .background(Color.Red)
                 // Other modifiers...
                 .redacted())